!173 [sync] PR-172: 运行测试用例时添加超时参数
From: @openeuler-sync-bot Reviewed-by: @xiezhipeng1 Signed-off-by: @xiezhipeng1
This commit is contained in:
commit
2562a6eb4c
12
python3.spec
12
python3.spec
@ -3,7 +3,7 @@ Summary: Interpreter of the Python3 programming language
|
|||||||
URL: https://www.python.org/
|
URL: https://www.python.org/
|
||||||
|
|
||||||
Version: 3.9.9
|
Version: 3.9.9
|
||||||
Release: 11
|
Release: 12
|
||||||
License: Python-2.0
|
License: Python-2.0
|
||||||
|
|
||||||
%global branchversion 3.9
|
%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= \
|
WITHIN_PYTHON_RPM_BUILD= \
|
||||||
LD_LIBRARY_PATH=$(pwd)/build/debug $(pwd)/build/debug/python -m test.regrtest \
|
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_distutils \
|
||||||
-x test_bdist_rpm \
|
-x test_bdist_rpm \
|
||||||
-x test_gdb \
|
-x test_gdb \
|
||||||
@ -402,7 +402,7 @@ LD_LIBRARY_PATH=$(pwd)/build/optimized $(pwd)/build/optimized/python -m test.pyt
|
|||||||
|
|
||||||
WITHIN_PYTHON_RPM_BUILD= \
|
WITHIN_PYTHON_RPM_BUILD= \
|
||||||
LD_LIBRARY_PATH=$(pwd)/build/optimized $(pwd)/build/optimized/python -m test.regrtest \
|
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_distutils \
|
||||||
-x test_bdist_rpm \
|
-x test_bdist_rpm \
|
||||||
-x test_gdb \
|
-x test_gdb \
|
||||||
@ -797,6 +797,12 @@ export BEP_GTDLIST="$BEP_GTDLIST_TMP"
|
|||||||
%{_mandir}/*/*
|
%{_mandir}/*/*
|
||||||
|
|
||||||
%changelog
|
%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
|
* Tue Jul 5 2022 huangduirong <huangduriong@huawei.com> - 3.9.9-11
|
||||||
- Type:bugfix
|
- Type:bugfix
|
||||||
- CVE:NA
|
- CVE:NA
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user