From: Chong Lu Date: Mon, 18 Aug 2014 05:19:21 +0000 (+0800) Subject: perl: fix the output format of all tests X-Git-Tag: 2015-4~1846 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=67462817222dfa674cf4be7dcd7d4edc5e8631d6;p=openembedded-core.git 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 Signed-off-by: Richard Purdie --- 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|'