From f4a58d6359dfee7dd0296587fadb7a95cd3deac1 Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Mon, 27 Jan 2020 18:03:37 +0100 Subject: [PATCH] Run the test suite with --timeout=1800 --- python39.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/python39.spec b/python39.spec index 613aeb1..37e5c76 100644 --- a/python39.spec +++ b/python39.spec @@ -1061,6 +1061,7 @@ CheckPython() { LD_LIBRARY_PATH=$ConfDir $ConfDir/python -m test.pythoninfo # Run the upstream test suite + # --timeout=1800: kill test running for longer than 30 minutes # test_gdb skipped on s390x: # https://bugzilla.redhat.com/show_bug.cgi?id=1678277 # test_gdb skipped everywhere: @@ -1069,7 +1070,7 @@ CheckPython() { # distutils.tests.test_bdist_rpm tests fail when bootstraping the Python # package: rpmbuild requires /usr/bin/pythonX.Y to be installed LD_LIBRARY_PATH=$ConfDir $ConfDir/python -m test.regrtest \ - -wW --slowest -j0 \ + -wW --slowest -j0 --timeout=1800 \ %if %{with bootstrap} -x test_distutils \ %endif