From 7f5fef919759ac0024381b589166025c18f15a59 Mon Sep 17 00:00:00 2001 From: Mike Holmes Date: Fri, 27 Sep 2013 09:29:42 -0400 Subject: openembedded/ltp-realtime: remove the path and the suffix .log from the test name Signed-off-by: mike-holmes Acked-by: Fathi Boudra --- openembedded/ltp-realtime.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/openembedded/ltp-realtime.yaml b/openembedded/ltp-realtime.yaml index 256205b..c1ce5ff 100644 --- a/openembedded/ltp-realtime.yaml +++ b/openembedded/ltp-realtime.yaml @@ -9,10 +9,11 @@ run: - 'cd /opt/ltp' - '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' + - 'for FILE in $(find testcases/realtime/logs -type f) ; do mv $FILE $(dirname $FILE)/$(echo $FILE | sed "s:.*2[0-9]*-[0-9]*-[0-9]*-::g"); done;' + - 'grep -r Result: ./testcases/realtime/logs | sed "s:.*/::g"' parse: - pattern: "^(?P.+):Result:\\s+(?P.+)" + pattern: "^(?P.+).log:Result: (?P.+)" fixupdict: FAIL: fail PASS: pass -- cgit v1.2.3