diff --git a/qemu.spec b/qemu.spec index 7cd8cb1..fbc3a48 100644 --- a/qemu.spec +++ b/qemu.spec @@ -2134,6 +2134,14 @@ rm -rf %{static_buildroot} # tests have been flakey in the past export MTESTARGS="--no-suite block" +# Most architectures can use the default timeouts, but in some cases +# the hardware that's currently available is too slow and we need to +# allow tests to run for a little bit longer +%define timeout_multiplier 1 +%ifarch riscv64 +%define timeout_multiplier 2 +%endif + %if %{with check} %if !%{tools_only} @@ -2143,7 +2151,7 @@ echo "Testing %{name}-build" # Last check: 2023-10 # Added: 2022-06 %ifnarch %{power64} -%make_build check +%make_build check TIMEOUT_MULTIPLIER=%{timeout_multiplier} %endif popd @@ -3160,6 +3168,7 @@ useradd -r -u 107 -g qemu -G kvm -d / -s /sbin/nologin \ %changelog * Sat Nov 23 2024 David Abdurachmanov - 9.1.2-1.0.riscv64 - Fix riscv files +- Increase test timeout on riscv64 * Thu Nov 21 2024 Cole Robinson - 9.1.2-1 - Update to qemu 9.1.2 stable