diff options
author | Chong Lu <Chong.Lu@windriver.com> | 2014-08-18 13:19:21 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-08-23 09:25:07 +0100 |
commit | 67462817222dfa674cf4be7dcd7d4edc5e8631d6 (patch) | |
tree | 067d6e98e8f4cff8f3e83f1952b88a1fb0ef90e3 /meta/recipes-devtools | |
parent | 99570ce7c5a9276d1d934533339e10de8fcf0aab (diff) | |
download | openembedded-core-67462817222dfa674cf4be7dcd7d4edc5e8631d6.tar.gz openembedded-core-67462817222dfa674cf4be7dcd7d4edc5e8631d6.tar.bz2 openembedded-core-67462817222dfa674cf4be7dcd7d4edc5e8631d6.zip |
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')
-rw-r--r-- | meta/recipes-devtools/perl/perl-5.20.0/run-ptest | 2 |
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|' |