diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2023-09-17 11:38:39 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-09-18 08:53:05 +0100 |
commit | 2fbba38df89fd54ef3a048ba5d8d31fff4a7518c (patch) | |
tree | 1d12c2e7193158444d70050c3b07c3bf12d36f02 /meta/recipes-devtools/perl | |
parent | c99c1b92eb5fb76f22b3458df15d876748528a20 (diff) | |
download | openembedded-core-contrib-2fbba38df89fd54ef3a048ba5d8d31fff4a7518c.tar.gz |
perl: ensure all failures are caught
Sed expression may miss some failures, and | obscures
the non-zero return code which would otherwise indicate them.
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/perl')
-rw-r--r-- | meta/recipes-devtools/perl/files/run-ptest | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-devtools/perl/files/run-ptest b/meta/recipes-devtools/perl/files/run-ptest index dad4d42916..0547f818b2 100644 --- a/meta/recipes-devtools/perl/files/run-ptest +++ b/meta/recipes-devtools/perl/files/run-ptest @@ -1,2 +1,2 @@ #!/bin/sh -cd t && PERL_BUILD_PACKAGING=1 ./TEST | sed -u -e 's|\(.*\) .* ok$|PASS: \1|' -e 's|\(.*\) .* skipped|SKIP: \1|' -e 's|\(.*\) \.\(.*\)|FAIL: \1|' +{ cd t && PERL_BUILD_PACKAGING=1 ./TEST || echo "FAIL: perl" ; } | sed -u -e 's|\(.*\) .* ok$|PASS: \1|' -e 's|\(.*\) .* skipped|SKIP: \1|' -e 's|\(.*\) \.\(.*\)|FAIL: \1|' |