From e9c0e01a34e324bfb4b15257cb96ef64699aa55b Mon Sep 17 00:00:00 2001 From: shixuantong Date: Wed, 3 Aug 2022 15:58:54 +0800 Subject: [PATCH] add timeout when running the test case --- python3.spec | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/python3.spec b/python3.spec index f50401a..31b921d 100644 --- a/python3.spec +++ b/python3.spec @@ -3,7 +3,7 @@ Summary: Interpreter of the Python3 programming language URL: https://www.python.org/ Version: 3.9.9 -Release: 11 +Release: 12 License: Python-2.0 %global branchversion 3.9 @@ -390,7 +390,7 @@ LD_LIBRARY_PATH=$(pwd)/build/debug $(pwd)/build/debug/python -m test.pythoninfo WITHIN_PYTHON_RPM_BUILD= \ LD_LIBRARY_PATH=$(pwd)/build/debug $(pwd)/build/debug/python -m test.regrtest \ - -wW --slowest -j0 \ + -wW --slowest -j0 --timeout 1800 \ -x test_distutils \ -x test_bdist_rpm \ -x test_gdb \ @@ -402,7 +402,7 @@ LD_LIBRARY_PATH=$(pwd)/build/optimized $(pwd)/build/optimized/python -m test.pyt WITHIN_PYTHON_RPM_BUILD= \ LD_LIBRARY_PATH=$(pwd)/build/optimized $(pwd)/build/optimized/python -m test.regrtest \ - -wW --slowest -j0 \ + -wW --slowest -j0 --timeout 1800 \ -x test_distutils \ -x test_bdist_rpm \ -x test_gdb \ @@ -797,6 +797,12 @@ export BEP_GTDLIST="$BEP_GTDLIST_TMP" %{_mandir}/*/* %changelog +* Wed Aug 03 2022 shixuantong - 3.9.9-12 +- Type:bugfix +- CVE:NA +- SUG:NA +- DESC:add timeout when running the test case + * Tue Jul 5 2022 huangduirong - 3.9.9-11 - Type:bugfix - CVE:NA -- Gitee