]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
curl: Skip tests marked flaky
authorRobert Joslyn <robert.joslyn@redrectangle.org>
Thu, 28 Sep 2023 01:56:06 +0000 (18:56 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 29 Sep 2023 22:07:43 +0000 (23:07 +0100)
Some tests can fail intermittently and upstream has marked these as
flaky so they can easily be skipped. At present there are 12 tests
marked flaky with 10 of them running in the default recipe
configuration. Skip them to avoid the failures.

Signed-off-by: Robert Joslyn <robert.joslyn@redrectangle.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
meta/recipes-support/curl/curl/run-ptest

index 95af2bd7b34412f3d5ac6b90fd227ec436052f2f..8f9c20f34df288b32394ae18f524eda5bf05d93e 100644 (file)
@@ -1,6 +1,6 @@
 #!/bin/sh
 cd tests
-{ ./runtests.pl -a -n -s -j4 || echo "FAIL: curl" ; } | sed \
+{ ./runtests.pl -a -n -s -j4 !flaky || 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//'