]> code.ossystems Code Review - openembedded-core.git/commitdiff
openssl: Fix ptest test output translation
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 27 Feb 2019 00:29:46 +0000 (00:29 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 27 Feb 2019 18:03:44 +0000 (18:03 +0000)
openssl-ptest was recording now results, despite most tests passing. Fix
so that the successes/skips/failures are reported correctly.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-connectivity/openssl/openssl/run-ptest

index 0a620dea74aeef998155939ef33bc802e152cf60..3fb22471f8c27a84007979bd30d3fa2aeca71e6c 100644 (file)
@@ -9,4 +9,4 @@ export TOP=.
 # OPENSSL_ENGINES is relative from the test binaries
 export OPENSSL_ENGINES=../engines
 
-perl ./test/run_tests.pl $*
+perl ./test/run_tests.pl $* | perl -0pe 's#(.*) \.*.ok#PASS: \1#g; s#(.*) \.*.skipped: (.*)#SKIP: \1 (\2)#g; s#(.*) \.*.\nDubious#FAIL: \1#;'