|
From: | Alex Bennée |
Subject: | Re: [PATCH 2/5] iotests: allow test discovery before building |
Date: | Fri, 03 Mar 2023 12:56:55 +0000 |
User-agent: | mu4e 1.9.21; emacs 29.0.60 |
Daniel P. Berrangé <berrange@redhat.com> writes: > The 'check' script can be invoked in "dry run" mode, in which case it > merely does test discovery and prints out all their names. Despite only > doing test discovery it still validates that the various QEMU binaries > can be found. This makes it impossible todo test discovery prior to > building QEMU. This is a desirable feature to support, because it will > let meson discover tests. > > Fortunately the code in the TestEnv constructor is ordered in a way > that makes this fairly trivial to achieve. We can just short circuit > the constructor after the basic directory paths have been set. > > Signed-off-by: Daniel P. Berrangé <berrange@redhat.com> Reviewed-by: Alex Bennée <alex.bennee@linaro.org> -- Alex Bennée Virtualisation Tech Lead @ Linaro
[Prev in Thread] | Current Thread | [Next in Thread] |