Skip to content
Snippets Groups Projects
Commit b327f9a3 authored by Andrea Bolognani's avatar Andrea Bolognani
Browse files

rules: Increase timeout for tests to 15m

The recent 6.7.0-1 upload has FTBFS on a few architectures (namely
armel, mips64el, mipsel and riscv64) not due to compiler errors or
anything like that, but because of test suite failures which were
caused by the fact that Meson automatically aborts any test
program that takes longer than 30s to complete.

Since some buildds are known to be quite slow, bump the limit to
15m in order to give them a chance to complete.

Note that this is likely an excessively generous time allocation,
but I currently have no idea what a reasonable one would be: once
builds have completed successfully and we see how long running the
tests actually takes, we can reduce it accordingly.
parent a9cc391d
No related branches found
No related tags found
1 merge request!70Prepare 6.7.0 2
......@@ -155,10 +155,13 @@ SRV_MONOLITHIC = libvirt-guests virtlogd virtlockd libvirtd libvirtd-tcp libvirt
override_dh_auto_configure:
dh_auto_configure -- $(DEB_CONFIGURE_EXTRA_ARGS)
# The default timeout for tests in Meson is 30s, which is not enough
# for architectures with slow buildds: make the timeout 30 times
# larger (15m) to account for those
override_dh_auto_test:
export LD_PRELOAD=""; \
export VIR_TEST_DEBUG=1; \
if ! dh_auto_test; then \
if ! dh_auto_test -- --timeout-multiplier 30; then \
cat $(DEB_BUILDDIR)/meson-logs/testlog.txt; \
exit 1; \
fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment