metadata: format: Lava-Test Test Definition 1.0 name: pi-stress-test description: "PI-Stress-test for POSIX Priority Inheritance mutexes. It's a stress test that 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: - ubuntu scope: - functional - preempt-rt devices: - panda - panda-es - arndale - vexpress-a9 - vexpress-tc2 - beaglebone-black - d01 - rtsm_fvp_base-aemv8a - juno 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