From 662a2d1c923dd1280fbc11561b223f261fdf8d34 Mon Sep 17 00:00:00 2001 From: David Abdurachmanov Date: Mon, 16 Oct 2023 11:08:31 +0300 Subject: [PATCH] Increase tests timeout by 10x on riscv64 Signed-off-by: David Abdurachmanov --- python3.11.spec | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/python3.11.spec b/python3.11.spec index 0ea7d64..fa3d4b0 100644 --- a/python3.11.spec +++ b/python3.11.spec @@ -17,7 +17,7 @@ URL: https://www.python.org/ #global prerel ... %global upstream_version %{general_version}%{?prerel} Version: %{general_version}%{?prerel:~%{prerel}} -Release: 2%{?dist} +Release: 2.0.riscv64%{?dist} License: Python-2.0.1 @@ -1092,7 +1092,12 @@ CheckPython() { # see: https://github.com/python/cpython/issues/104280#issuecomment-1669249980 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 \ -i test_check_probes \ %if %{with bootstrap} @@ -1616,6 +1621,9 @@ CheckPython optimized # ====================================================== %changelog +* Mon Oct 16 2023 David Abdurachmanov - 3.11.6-2.0.riscv64 +- Increase tests timeout by 10x on riscv64 + * Tue Oct 03 2023 Yaakov Selkowitz - 3.11.6-2 - Use bundled libb2 in RHEL builds