aboutsummaryrefslogtreecommitdiff
path: root/aosp-24h-stress-test.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'aosp-24h-stress-test.yaml')
-rw-r--r--aosp-24h-stress-test.yaml42
1 files changed, 42 insertions, 0 deletions
diff --git a/aosp-24h-stress-test.yaml b/aosp-24h-stress-test.yaml
new file mode 100644
index 0000000..b7b3608
--- /dev/null
+++ b/aosp-24h-stress-test.yaml
@@ -0,0 +1,42 @@
+metadata:
+ name: aosp-24h-stress-test
+ format: "Lava-Test-Shell Test Definition 1.0"
+ description: "Run stress_ng, stress_oom and stress_network test on Debian"
+ maintainer:
+ - chase.qi@linaro.org
+ os:
+ - android
+ scope:
+ - stress
+ devices:
+ - hi6220-hikey
+ - apq8016-sbc
+
+install:
+
+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
+ - ./aosp-24h-stress-test.sh -t $TEST -d $DURATION
+ - elif [ "$TEST" = "stress_oom" ]; then
+ - ./aosp-24h-stress-test.sh -t $TEST -d $DURATION
+ - elif [ "$TEST" = "stress_network" ]; then
+ - ./aosp-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