[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v4 4/6] gitlab-ci: Avoid to re-run "configure" in the device-cras
From: |
Alex Bennée |
Subject: |
[PATCH v4 4/6] gitlab-ci: Avoid to re-run "configure" in the device-crash-test jobs |
Date: |
Mon, 17 Apr 2023 14:43:19 +0100 |
From: Thomas Huth <thuth@redhat.com>
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>
---
.gitlab-ci.d/buildtest.yml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/.gitlab-ci.d/buildtest.yml b/.gitlab-ci.d/buildtest.yml
index ba6f551752..333eea9dd3 100644
--- a/.gitlab-ci.d/buildtest.yml
+++ b/.gitlab-ci.d/buildtest.yml
@@ -102,7 +102,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:
@@ -145,7 +145,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
--
2.39.2
Re: [PATCH v4 1/6] tests/requirements.txt: bump up avocado-framework version to 101.0, Thomas Huth, 2023/04/18
Re: [PATCH v4 1/6] tests/requirements.txt: bump up avocado-framework version to 101.0, Cleber Rosa, 2023/04/20
Re: [PATCH v4 1/6] tests/requirements.txt: bump up avocado-framework version to 101.0, Thomas Huth, 2023/04/21
[PATCH v4 4/6] gitlab-ci: Avoid to re-run "configure" in the device-crash-test jobs,
Alex Bennée <=
[PATCH v4 2/6] tests/avocado: use the new snapshots for testing, Alex Bennée, 2023/04/17
[PATCH v4 3/6] tests/avocado: Add set of boot tests on SBSA-ref, Alex Bennée, 2023/04/17
[PATCH v4 5/6] scripts/device-crash-test: Add a parameter to run with TCG only, Alex Bennée, 2023/04/17
[PATCH v4 6/6] qemu-options: finesse the recommendations around -blockdev, Alex Bennée, 2023/04/17
Re: [PATCH v4 0/6] testing/next: avocado, docs, gitlab, John Snow, 2023/04/17