diff options
author | Anders Roxell <anders.roxell@linaro.org> | 2013-09-05 09:33:12 +0200 |
---|---|---|
committer | Fathi Boudra <fathi.boudra@linaro.org> | 2013-09-05 21:39:43 +0300 |
commit | 279eba7b4ff581e5ebcbf6942c1a3658aefc8ed2 (patch) | |
tree | 109b52228bbc81fcc3bb01f90ad3307ea93341e4 /openembedded/ltp-realtime.yaml | |
parent | 8b92bf6584039c9ff69a1d7ebd41ea454b515d08 (diff) |
openembedded/ltp-realtime: specify which tests to run and parse result log
Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
Acked-by: Fathi Boudra <fathi.boudra@linaro.org>
Diffstat (limited to 'openembedded/ltp-realtime.yaml')
-rw-r--r-- | openembedded/ltp-realtime.yaml | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/openembedded/ltp-realtime.yaml b/openembedded/ltp-realtime.yaml index b641b7f..256205b 100644 --- a/openembedded/ltp-realtime.yaml +++ b/openembedded/ltp-realtime.yaml @@ -7,14 +7,12 @@ metadata: run: steps: - 'cd /opt/ltp' - - './runltp -f test_realtime -p -q' + - 'export LTP_REALTIME_TESTS_TO_RUN="func/async_handler func/gtod_latency func/hrtimer-prio func/matrix_mult func/measurement func/periodic_cpu_load func/pi_perf func/prio-preempt func/prio-wake func/pthread_kill_latency func/rt-migrate func/sched_football func/sched_jitter func/sched_latency func/thread_clock"' + - 'for TEST_TO_RUN in ${LTP_REALTIME_TESTS_TO_RUN} ; do ./testscripts/test_realtime.sh -t $TEST_TO_RUN ; done' + - 'grep -r Result: ./testcases/realtime/logs' parse: - pattern: "^(?P<test_case_id>\\S+)\\s+\\d+\\s+(?P<result>\\w+)\\s+:\\s+.+" + pattern: "^(?P<test_case_id>.+):Result:\\s+(?P<result>.+)" fixupdict: - TBROK: fail - TCONF: skip - TFAIL: fail - TINFO: skip - TPASS: pass - TWARN: unknown + FAIL: fail + PASS: pass |