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

Pavel Hrdina phrdina at redhat.com
Wed Sep 9 13:38:21 UTC 2020


On Wed, Sep 09, 2020 at 02:31:48PM +0100, 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

It does but only if using meson command:

    meson test -t 

if the tests are started using ninja command:

    ninja test

it is not possible to pass additional arguments to meson via ninja.

Pavel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20200909/d2d9bc7c/attachment-0001.sig>


More information about the libvir-list mailing list