summaryrefslogtreecommitdiff
path: root/openembedded/ltp-realtime.yaml
blob: 2f031316389fa28a72de40db90b16484102f7bcb (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
metadata:
    name: ltp-realtime
    format: "Lava-Test-Shell Test Definition 1.0"
    version: 20140422
    description: "Run LTP test_realtime on OpenEmbedded."
    maintainer:
        - anders.roxell@linaro.org
        - mike.holmes@linaro.org
    os:
        - openembedded
    scope:
        - preempt-rt
    devices:
        - arndale
params:
    LTP_REALTIME_TESTS_TO_RUN: 'async_handler gtod_latency hrtimer-prio matrix_mult measurement periodic_cpu_load pi_perf prio-preempt prio-wake pthread_kill_latency rt-migrate sched_football sched_jitter sched_latency thread_clock'

run:
    steps:
        - 'export LAVA_TESTDIR=`echo $(dirname $(readlink -f build))`'
        - 'cd /opt/ltp'
        - 'for TEST_TO_RUN in ${LTP_REALTIME_TESTS_TO_RUN} ; do ./testscripts/test_realtime.sh -t func/$TEST_TO_RUN | $LAVA_TESTDIR/common/scripts/ltp-realtime2LAVA.py; done'

parse:
    "pattern": "^test_case_id:(?P<test_case_id>.+)\\s+measurement:(?P<measurement>[\\d\\.]+)\\s+units:(?P<units>\\w+)\\s+result:(?P<result>\\w+)"
    fixupdict:
        FAIL: fail
        PASS: pass