]> xenbits.xensource.com Git - qemu-xen.git/commitdiff
gitlab-ci: Avoid to re-run "configure" in the device-crash-test jobs
authorThomas Huth <thuth@redhat.com>
Mon, 24 Apr 2023 09:22:35 +0000 (10:22 +0100)
committerMichael Tokarev <mjt@tls.msk.ru>
Wed, 31 May 2023 06:43:25 +0000 (09:43 +0300)
After "make check-venv" had been added to these jobs, they started
to re-run "configure" each time since our logic in the makefile
thinks that some files are out of date here. Avoid it with the same
trick that we are using in buildtest-template.yml already by disabling
the up-to-date check via NINJA=":".

Fixes: 1d8cf47e5b ("tests: run 'device-crash-test' from tests/venv")
Signed-off-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20230414145845.456145-2-thuth@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20230424092249.58552-5-alex.bennee@linaro.org>
(cherry picked from commit 4d3bd91b26a69b39a178744d3d6e5f23050afb23)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
.gitlab-ci.d/buildtest.yml

index d21b4a1fd47ec91bbcae5bb80dcb9aaf7f72dc27..38d95c84876a84c6e8a25839d308cabd4cf529e2 100644 (file)
@@ -109,7 +109,7 @@ crash-test-debian:
     IMAGE: debian-amd64
   script:
     - cd build
-    - make check-venv
+    - make NINJA=":" check-venv
     - tests/venv/bin/python3 scripts/device-crash-test -q ./qemu-system-i386
 
 build-system-fedora:
@@ -155,7 +155,7 @@ crash-test-fedora:
     IMAGE: fedora
   script:
     - cd build
-    - make check-venv
+    - make NINJA=":" check-venv
     - tests/venv/bin/python3 scripts/device-crash-test -q ./qemu-system-ppc
     - tests/venv/bin/python3 scripts/device-crash-test -q ./qemu-system-riscv32