On 1/22/21 2:46 AM, Andrea Bolognani wrote:
On Thu, 2021-01-21 at 16:55 -0500, Cole Robinson wrote:
%check
-VIR_TEST_DEBUG=1 %meson_test --no-suite syntax-check
+# Building on slow archs, like emulated s390x in Fedora copr, requires
+# raising the test timeout
+VIR_TEST_DEBUG=1 %meson_test --no-suite syntax-check --timeout-multiplier 10
Debian has been doing the same thing for a while, even though in that
case it's to cope with slow native hardware rather than emulation:
https://salsa.debian.org/libvirt-team/libvirt/-/blob/debian/6.9.0-3/debian/rules#L170-179
FYI, I also use the timeout multiplier in the SUSE libvirt package to avoid test
failures in OBS, particularly for non-x86 architectures. A value of 5 has worked
fine thus far.
Regards,
Jim