aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChase Qi <chase.qi@linaro.org>2016-04-29 15:46:03 +0800
committerChase Qi <chase.qi@linaro.org>2016-04-29 15:46:03 +0800
commit814aea4d2b230c5e3a58d1092f817ccdce5f9b31 (patch)
treeadade79e0254e4282f2a4f292caaf83f4e24fcf0
parent1230e13f20ddfb7f45106d8373d2ef33ae4ea808 (diff)
Add oe-24h-stress-test.yaml
-rw-r--r--oe-24h-stress-test.yaml40
1 files changed, 40 insertions, 0 deletions
diff --git a/oe-24h-stress-test.yaml b/oe-24h-stress-test.yaml
new file mode 100644
index 0000000..7b8f4f0
--- /dev/null
+++ b/oe-24h-stress-test.yaml
@@ -0,0 +1,40 @@
+metadata:
+ name: oe-24h-stress-test
+ format: "Lava-Test-Shell Test Definition 1.0"
+ description: "Run stress_ng, stress_oom and stress_network test on OE build"
+ maintainer:
+ - chase.qi@linaro.org
+ os:
+ - openembedded
+ scope:
+ - stress
+ devices:
+ - hi6220-hikey
+ - apq8016-sbc
+
+params:
+ # Specify test to run.
+ # Supported tests: stress_ng, stress_oom and stress_network.
+ TEST: "stress_ng"
+ # Specify test duration in seconds.
+ DURATION: "21600"
+ # Specify network interface, file link and md5 sum for stress_network test.
+ INTERFACE: "wlan0"
+ LINK: "http://people.linaro.org/~chase.qi/testdata/stress-network.img"
+ MD5: "e5c834fbdaa6bfd8eac5eb9404eefdd4"
+
+run:
+ steps:
+ - if [ "$TEST" = "stress_ng" ]; then
+ - ./oe-24h-stress-test.sh -t $TEST -d $DURATION
+ - elif [ "$TEST" = "stress_oom" ]; then
+ - ./oe-24h-stress-test.sh -t $TEST -d $DURATION
+ - elif [ "$TEST" = "stress_network" ]; then
+ - ./oe-24h-stress-test.sh -t $TEST -d $DURATION -i $INTERFACE -l $LINK -m $MD5
+ - fi
+
+parse:
+ pattern: "(?P<test_case_id>.*-*):\\s+(?P<result>(pass|fail))"
+ fixupdict:
+ PASS: pass
+ FAIL: fail