summaryrefslogtreecommitdiff
path: root/ubuntu/pi-stress-test.yaml
diff options
context:
space:
mode:
authorChase Qi <chase.qi@linaro.org>2014-12-03 11:57:35 +0800
committerMilosz Wasilewski <milosz.wasilewski@linaro.org>2014-12-08 13:34:27 +0000
commite1558f50f751ee1cbb087abf0b2057384c809bb4 (patch)
tree6888c4bd3e5b420d5fafe6d4fbadb9f5aef01eeb /ubuntu/pi-stress-test.yaml
parent0ea91622be261d49f8839ceb1da0e1a66460bc01 (diff)
Ubuntu: Add PI stress test
pi_stress is a program used to stress the priority-inheritance code paths for POSIX mutexes, in both the Linux kernel and the C library. Signed-off by: Chase Qi <chase.qi@linaro.org> Change-Id: I7585b3d74e4feacd0c008f4e7ed78628dbc08a69
Diffstat (limited to 'ubuntu/pi-stress-test.yaml')
-rw-r--r--ubuntu/pi-stress-test.yaml41
1 files changed, 41 insertions, 0 deletions
diff --git a/ubuntu/pi-stress-test.yaml b/ubuntu/pi-stress-test.yaml
new file mode 100644
index 0000000..f2a109d
--- /dev/null
+++ b/ubuntu/pi-stress-test.yaml
@@ -0,0 +1,41 @@
+metadata:
+ format: Lava-Test Test Definition 1.0
+ name: pi-stress-test
+ description: "Stress test for POSIX Priority Inheritance mutexes"
+ maintainer:
+ - chase.qi@linaro.org
+ os:
+ - ubuntu
+ scope:
+ - functional
+ - preempt-rt
+ devices:
+ - panda
+ - panda-es
+ - arndale
+ - vexpress-a9
+ - vexpress-tc2
+ - beaglebone-black
+ - d01
+ - rtsm_fvp_base-aemv8a
+ environment:
+ - lava-test-shell
+
+install:
+ deps:
+ - rt-tests
+params:
+ # Length of the test run in seconds
+ DURATION: 300
+ # The number of inversion groups to run. By default pi_stress will detect the number of
+ # processors and determine the number of inversion groups automatically.
+ GROUP: 'default'
+ # Set MLOCKALL to ture to lock current and future memory
+ MLOCKALL: 'true'
+ # Set RR to true if you need use SCHED_RR for test threads. The
+ # default is to run the inversion threads as SCHED_FIFO
+ RR: 'false'
+
+run:
+ steps:
+ - ./ubuntu/scripts/pi-stress-test.py $DURATION $GROUP $MLOCKALL $RR