summaryrefslogtreecommitdiff
path: root/automated/linux/pi-stress/pi-stress.yaml
blob: 28d4bffa01a163f101c0b226df4246744709ad37 (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
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