mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-16 14:29:05 -07:00
net-misc/curl: add --retry to test flags
Outcome of curl distro discussion. Additionally fix makeopts_jobs QA issue. Signed-off-by: Matt Jolly <kangie@gentoo.org>
This commit is contained in:
@@ -388,6 +388,7 @@ multilib_src_test() {
|
||||
# -k: keep test files after completion
|
||||
# -am: automake style TAP output
|
||||
# -p: print logs if test fails
|
||||
# --retry: retry any failing tests up to 3 times; this is a band-aid for timing-dependent flakiness.
|
||||
# Note: if needed, we can skip specific tests. See e.g. Fedora's packaging
|
||||
# or just read https://github.com/curl/curl/tree/master/tests#run.
|
||||
# Note: we don't run the testsuite for cross-compilation.
|
||||
@@ -395,7 +396,8 @@ multilib_src_test() {
|
||||
# this ends up breaking when nproc is huge (like -j80).
|
||||
# The network sandbox causes tests 241 and 1083 to fail; these are typically skipped
|
||||
# as most gentoo users don't have an 'ip6-localhost'
|
||||
multilib_is_native_abi && emake test TFLAGS="-n -v -a -k -am -p -j$((2*$(get_makeopts_jobs))) !241 !1083"
|
||||
multilib_is_native_abi && emake test TFLAGS="-n -v -a -k -am -p -j$((2*$(get_makeopts_jobs))) --retry=3 !241 !1083"
|
||||
# TODO: enable python tests (make pytest).
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
|
||||
Reference in New Issue
Block a user