summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Holmes <mike.holmes@linaro.org>2013-09-27 09:29:42 -0400
committerFathi Boudra <fathi.boudra@linaro.org>2013-09-30 14:53:47 +0300
commit7f5fef919759ac0024381b589166025c18f15a59 (patch)
treedc4ea09e9b2779cb32788cd2dcadc19e23319660
parentd88ac231016760ae38d69748467518eb3ee0fd00 (diff)
openembedded/ltp-realtime: remove the path and the suffix .log from the test name
Signed-off-by: mike-holmes <mike.holmes@linaro.org> Acked-by: Fathi Boudra <fathi.boudra@linaro.org>
-rw-r--r--openembedded/ltp-realtime.yaml5
1 files 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<test_case_id>.+):Result:\\s+(?P<result>.+)"
+ pattern: "^(?P<test_case_id>.+).log:Result: (?P<result>.+)"
fixupdict:
FAIL: fail
PASS: pass