diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2023-08-02 20:02:30 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-08-09 12:44:52 +0100 |
commit | 5020abf3424350bb9fda4bf5477360d996f2d730 (patch) | |
tree | 69aedc9983d2fa273acd6fdbc16b8e38f433c44c /meta/recipes-support | |
parent | f09444ffd1083a6853af61528444c96068a1f9b2 (diff) | |
download | poky-5020abf3424350bb9fda4bf5477360d996f2d730.tar.gz |
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: 86c96cbf68d986b44fdb45e988343ce29d6b8cc7)
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support')
-rw-r--r-- | meta/recipes-support/curl/curl/disable-tests | 2 | ||||
-rw-r--r-- | meta/recipes-support/curl/curl/run-ptest | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/meta/recipes-support/curl/curl/disable-tests b/meta/recipes-support/curl/curl/disable-tests index 92056bd8ca..b687b2bb76 100644 --- a/meta/recipes-support/curl/curl/disable-tests +++ b/meta/recipes-support/curl/curl/disable-tests | |||
@@ -18,6 +18,8 @@ | |||
18 | 1165 | 18 | 1165 |
19 | # This CRL test is looking for src files | 19 | # This CRL test is looking for src files |
20 | 1185 | 20 | 1185 |
21 | # This test is scanning the source tree | ||
22 | 1222 | ||
21 | # These CRL tests need --libcurl option to be enabled | 23 | # These CRL tests need --libcurl option to be enabled |
22 | 1400 | 24 | 1400 |
23 | 1401 | 25 | 1401 |
diff --git a/meta/recipes-support/curl/curl/run-ptest b/meta/recipes-support/curl/curl/run-ptest index 614e822922..2c74c58f5d 100644 --- a/meta/recipes-support/curl/curl/run-ptest +++ b/meta/recipes-support/curl/curl/run-ptest | |||
@@ -1,6 +1,6 @@ | |||
1 | #!/bin/sh | 1 | #!/bin/sh |
2 | cd tests | 2 | cd tests |
3 | ./runtests.pl -a -n -s | sed \ | 3 | { ./runtests.pl -a -n -s || echo "FAIL: curl" ; } | sed \ |
4 | -e 's|\([^ ]* *\) \([^ ]* *\)...OK|PASS: \1 \2|' \ | 4 | -e 's|\([^ ]* *\) \([^ ]* *\)...OK|PASS: \1 \2|' \ |
5 | -e 's|\([^ ]* *\) \([^ ]* *\)...FAILED|FAIL: \1 \2|' \ | 5 | -e 's|\([^ ]* *\) \([^ ]* *\)...FAILED|FAIL: \1 \2|' \ |
6 | -e 's/Warning: test[0-9]\+ not present in tests\/data\/Makefile.inc//' | 6 | -e 's/Warning: test[0-9]\+ not present in tests\/data\/Makefile.inc//' |