perl: fix the output format of all tests

We should use "PASS:|FAIL:|SKIP: testname" to output results of ptest.

(From OE-Core rev: 67462817222dfa674cf4be7dcd7d4edc5e8631d6)

Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Chong Lu 2014-08-18 13:19:21 +08:00 committed by Richard Purdie
parent 638ccc4062
commit e46011cdee
1 changed files with 1 additions and 1 deletions

View File

@ -1,2 +1,2 @@
#!/bin/sh
cd t && ./TEST | sed -u -e 's/^\([^. \t]*\)\.\.\.\+ok/PASS: \1/' -e 's/^\([^. \t]*\)\.\.\.\+skipped/SKIP: \1/' -e 's/^\([^. \t]*\)\.\.\.\+\(.*\)/FAIL: \1\n\2/'
cd t && ./TEST | sed -u -e 's|\(.*\) .* ok$|PASS: \1|' -e 's|\(.*\) .* skipped|SKIP: \1|' -e 's|\(.*\) \.\(.*\)|FAIL: \1|'