!171 运行测试用例时添加超时参数

From: @tong_1001 
Reviewed-by: @xiezhipeng1, @gaoruoshu 
Signed-off-by: @xiezhipeng1
This commit is contained in:
openeuler-ci-bot 2022-08-03 09:31:53 +00:00 committed by Gitee
commit abf3bf4ee1
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -3,7 +3,7 @@ Summary: Interpreter of the Python3 programming language
URL: https://www.python.org/ URL: https://www.python.org/
Version: 3.10.2 Version: 3.10.2
Release: 5 Release: 6
License: Python-2.0 License: Python-2.0
%global branchversion 3.10 %global branchversion 3.10
@ -384,7 +384,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 \
@ -396,7 +396,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 \
@ -795,6 +795,12 @@ export BEP_GTDLIST="$BEP_GTDLIST_TMP"
%{_mandir}/*/* %{_mandir}/*/*
%changelog %changelog
* Wed Aug 03 2022 shixuantong <shixuantong@h-partners.com> - 3.10.2-6
- Type:bugfix
- CVE:NA
- SUG:NA
- DESC:add timeout when running the test case
* Wed Jul 06 2022 shixuantong <shixuantong@h-partners.com> - 3.10.2-5 * Wed Jul 06 2022 shixuantong <shixuantong@h-partners.com> - 3.10.2-5
- Type:bugfix - Type:bugfix
- CVE:NA - CVE:NA