Increase timeout for tests on riscv64

Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
This commit is contained in:
David Abdurachmanov 2023-02-18 16:08:32 +02:00
parent 0331299c7d
commit 1d34129c60
Signed by: davidlt
GPG Key ID: 8B7F1DA0E2C9FDBB
1 changed files with 10 additions and 2 deletions

View File

@ -17,7 +17,7 @@ URL: https://www.python.org/
#global prerel ...
%global upstream_version %{general_version}%{?prerel}
Version: %{general_version}%{?prerel:~%{prerel}}
Release: 1%{?dist}
Release: 1.0.riscv64%{?dist}
License: Python-2.0.1
@ -1080,7 +1080,12 @@ CheckPython() {
# upstream report: https://bugs.python.org/issue45783
LD_LIBRARY_PATH=$ConfDir $ConfDir/python -m test.regrtest \
-wW --slowest -j0 --timeout=1800 \
-wW --slowest -j0 \
%ifnarch riscv64
--timeout=1800 \
%else
--timeout=18000 \
%endif
-i test_freeze_simple_script \
%if %{with bootstrap}
-x test_distutils \
@ -1603,6 +1608,9 @@ CheckPython optimized
# ======================================================
%changelog
* Sat Feb 18 2023 David Abdurachmanov <davidlt@rivosinc.com> - 3.11.2-1.0.riscv64
- Increase test timeout on riscv64
* Wed Feb 08 2023 Tomáš Hrnčiar <thrnciar@redhat.com> - 3.11.2-1
- Update to 3.11.2