summaryrefslogtreecommitdiff
path: root/automated/linux/pi-stress/pi-stress.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'automated/linux/pi-stress/pi-stress.yaml')
-rw-r--r--automated/linux/pi-stress/pi-stress.yaml40
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