add timeout when running the test case

(cherry picked from commit e9c0e01a34e324bfb4b15257cb96ef64699aa55b)
This commit is contained in:
shixuantong 2022-08-03 15:58:54 +08:00 committed by openeuler-sync-bot
parent eaba8b40de
commit 27fa62ec66

View File

@ -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 <shixuantong@h-partners.com> - 3.9.9-12
- Type:bugfix
- CVE:NA
- SUG:NA
- DESC:add timeout when running the test case
* Tue Jul 5 2022 huangduirong <huangduriong@huawei.com> - 3.9.9-11
- Type:bugfix
- CVE:NA