curl: ensure all ptest failures are caught

Piping results through sed is masking failures that aren't
picked up by sed expressions.

One such failure probes the source tree, and so isn't
relevant for target testing, and can be disabled.

(From OE-Core rev: 3afb1edc760a7cc1048aa9ae009a8cc6d32f9e89)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 86c96cbf68d986b44fdb45e988343ce29d6b8cc7)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
This commit is contained in:
Alexander Kanavin authored and Steve Sakoman committed 2023-08-18 03:57:05 -10:00
1 parent 9e2b1cdc04
commit c17b8013ce
2 files changed
+3 -1

No files matched your search

@@ -18,6 +18,8 @@
1165
# This CRL test is looking for src files
1185
# This test is scanning the source tree
1222
# These CRL tests need --libcurl option to be enabled
1400
1401
+1 -1
View File
@@ -1,6 +1,6 @@
#!/bin/sh
cd tests
./runtests.pl -a -n -s | sed \
{ ./runtests.pl -a -n -s || echo "FAIL: curl" ; } | sed \
-e 's|\([^ ]* *\) \([^ ]* *\)...OK|PASS: \1 \2|' \
-e 's|\([^ ]* *\) \([^ ]* *\)...FAILED|FAIL: \1 \2|' \
-e 's/Warning: test[0-9]\+ not present in tests\/data\/Makefile.inc//'