blob: b7b360894fcdfe36365ec5cb2b68faef73448088 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
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
|