summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/perl
diff options
context:
space:
mode:
authorChong Lu <Chong.Lu@windriver.com>2014-08-18 13:19:21 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-08-23 09:25:07 +0100
commit67462817222dfa674cf4be7dcd7d4edc5e8631d6 (patch)
tree067d6e98e8f4cff8f3e83f1952b88a1fb0ef90e3 /meta/recipes-devtools/perl
parent99570ce7c5a9276d1d934533339e10de8fcf0aab (diff)
downloadopenembedded-core-67462817222dfa674cf4be7dcd7d4edc5e8631d6.tar.gz
perl: fix the output format of all tests
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>
Diffstat (limited to 'meta/recipes-devtools/perl')
-rw-r--r--meta/recipes-devtools/perl/perl-5.20.0/run-ptest2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-devtools/perl/perl-5.20.0/run-ptest b/meta/recipes-devtools/perl/perl-5.20.0/run-ptest
index ed59b4b145..1e2dd1b66d 100644
--- a/meta/recipes-devtools/perl/perl-5.20.0/run-ptest
+++ b/meta/recipes-devtools/perl/perl-5.20.0/run-ptest
@@ -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|'