diff options
author | Chase Qi <chase.qi@linaro.org> | 2017-01-19 16:36:46 +0800 |
---|---|---|
committer | Milosz Wasilewski <milosz.wasilewski@linaro.org> | 2017-01-19 12:02:54 +0000 |
commit | ca8cb23bd0137dd8a6ad8dcf0ba0a9157fc78d2f (patch) | |
tree | e9cda057cce11db1eb45a2a70bdd617867ee196c /automated/linux/pi-stress/pi-stress.yaml | |
parent | dc409a3ba962d1dca98f1cae6ab8c87627a68cd9 (diff) |
automated: linux: add rt pi stress test
Change-Id: Ie6d3a7e0a7095d1602bc9648ed4fac9e4a539bdb
Signed-off-by: Chase Qi <chase.qi@linaro.org>
Diffstat (limited to 'automated/linux/pi-stress/pi-stress.yaml')
-rw-r--r-- | automated/linux/pi-stress/pi-stress.yaml | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/automated/linux/pi-stress/pi-stress.yaml b/automated/linux/pi-stress/pi-stress.yaml new file mode 100644 index 0000000..28d4bff --- /dev/null +++ b/automated/linux/pi-stress/pi-stress.yaml @@ -0,0 +1,40 @@ +metadata: + format: Lava-Test Test Definition 1.0 + name: pi-stress + description: "pi_stress checks Priority Inheritence Mutexes and their + ability to avoid Priority Inversion from occuring by running + groups of threads that cause Priority Inversions." + maintainer: + - chase.qi@linaro.org + os: + - debian + - ubuntu + - fedora + - centos + - openembedded + scope: + - functional + - preempt-rt + devices: + - hi6220-hikey + - apq8016-sbc + - mustang + - moonshot + - thunderX + - d03 + - d05 + +params: + # Length of the test run in seconds + DURATION: 300 + # Set MLOCKALL to "true" to lock current and future memory + MLOCKALL: "false" + # Set RR to "true" to use SCHED_RR for test threads. + # It uses SCHED_FIFO by default. + RR: "false" + +run: + steps: + - cd automated/linux/pi-stress + - ./pi-stress.sh -d "$DURATION" -m "${MLOCKALL}" -r "${RR}" + - ../../utils/send-to-lava.sh ./output/result.txt |