[libvirt PATCH 2/2] meson: Add tests_timeout build option

Ján Tomko jtomko at redhat.com
Wed Sep 9 13:37:25 UTC 2020


On a Wednesday in 2020, Daniel P. Berrangé wrote:
>On Wed, Sep 09, 2020 at 03:10:06PM +0200, Andrea Bolognani wrote:
>> The default timeout for tests is 30s, but that's not always
>> enough time: the Valgrind test, for example, are currently
>> special-cased because they take longer, and on certain
>> architectures where powerful hardware is not (yet) available
>> even the basic test programs might take more than 30s to
>> complete.
>
>Does Meson not have a standard way to increase the default
>timeout globally ? It feels like this scenario of building
>on slow hardware could hit any application, so surprised
>we need to add our own args for this
>

There is --timeout-multiplier.

Jano

>>
>> A concrete example of this happening and preventing a package
>> build from finishing:
>>
>>   https://buildd.debian.org/status/fetch.php?pkg=libvirt&arch=riscv64&ver=6.7.0-1&stamp=1599587548&raw=0
>>
>> Make it possible to configure a different timeout for tests.
>>
>> Signed-off-by: Andrea Bolognani <abologna at redhat.com>
>> ---
>>  meson.build       | 2 ++
>>  meson_options.txt | 1 +
>>  tests/meson.build | 6 +++---
>>  3 files changed, 6 insertions(+), 3 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20200909/a2a0bb82/attachment-0001.sig>


More information about the libvir-list mailing list