]> code.ossystems Code Review - openembedded-core.git/commitdiff
perl: fix the output format of all tests
authorChong Lu <Chong.Lu@windriver.com>
Mon, 18 Aug 2014 05:19:21 +0000 (13:19 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 23 Aug 2014 08:25:07 +0000 (09:25 +0100)
We should use "PASS:|FAIL:|SKIP: testname" to output results of ptest.

Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/perl/perl-5.20.0/run-ptest

index ed59b4b14521bb3f8f945fa5f24f9d87110392bf..1e2dd1b66db1847f7817f47ff875043fcc909e20 100644 (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|'