Some tests need test dependencies, some tests don't. Instead of running "make check" manually, use a CI variable for the template that allows us to front-load the testing dependencies without needing to incur another re-configure command.
Signed-off-by: John Snow <[email protected]> --- .gitlab-ci.d/buildtest-template.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.gitlab-ci.d/buildtest-template.yml b/.gitlab-ci.d/buildtest-template.yml index d866cb12bb1..cfa123d3a10 100644 --- a/.gitlab-ci.d/buildtest-template.yml +++ b/.gitlab-ci.d/buildtest-template.yml @@ -32,6 +32,10 @@ then pyvenv/bin/meson configure . -Dbackend_max_links="$LD_JOBS" ; fi || exit 1; + - if test -n "$SETUP_CHECK_VENV"; + then + make check-venv; + fi; - section_end configure - section_start build "Building QEMU" - $MAKE -j"$JOBS" -- 2.51.1
