summaryrefslogtreecommitdiffstats
path: root/meta
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:26:12 +0100
commite46011cdee5f3bf427366b4cd526134fba54950d (patch)
treef2f7f29745c825206ec922e89f8be67703c6b3ca /meta
parent638ccc4062bdadaa90626d121412896141e89e98 (diff)
downloadpoky-e46011cdee5f3bf427366b4cd526134fba54950d.tar.gz
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>
Diffstat (limited to 'meta')
-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 @@
1#!/bin/sh 1#!/bin/sh
2cd t && ./TEST | sed -u -e 's/^\([^. \t]*\)\.\.\.\+ok/PASS: \1/' -e 's/^\([^. \t]*\)\.\.\.\+skipped/SKIP: \1/' -e 's/^\([^. \t]*\)\.\.\.\+\(.*\)/FAIL: \1\n\2/' 2cd t && ./TEST | sed -u -e 's|\(.*\) .* ok$|PASS: \1|' -e 's|\(.*\) .* skipped|SKIP: \1|' -e 's|\(.*\) \.\(.*\)|FAIL: \1|'