openssl: Fix ptest test output translation

openssl-ptest was recording now results, despite most tests passing. Fix
so that the successes/skips/failures are reported correctly.

(From OE-Core rev: 87728d921cfa5997b454ebc5074d2c1aee2def89)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Richard Purdie
2019-02-27 00:29:46 +00:00
parent 1b57d8c575
commit 40b7fa68fb

View 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#;'