[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 15/33] build: do a full build before running TCG tests
From: |
Alex Bennée |
Subject: |
[PULL 15/33] build: do a full build before running TCG tests |
Date: |
Wed, 1 Jun 2022 19:05:19 +0100 |
From: Paolo Bonzini <pbonzini@redhat.com>
TCG tests need both QEMU and firmware to be built, so do "ninja all" before
trying to run them.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220517092616.1272238-5-pbonzini@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20220527153603.887929-16-alex.bennee@linaro.org>
diff --git a/tests/Makefile.include b/tests/Makefile.include
index ec84b2ebc0..72ce0561f4 100644
--- a/tests/Makefile.include
+++ b/tests/Makefile.include
@@ -57,7 +57,7 @@ $(TCG_TESTS_TARGETS:%=build-tcg-tests-%): build-tcg-tests-%:
$(BUILD_DIR)/tests/
"BUILD","$* guest-tests")
.PHONY: $(TCG_TESTS_TARGETS:%=run-tcg-tests-%)
-$(TCG_TESTS_TARGETS:%=run-tcg-tests-%): run-tcg-tests-%: build-tcg-tests-%
$(if $(CONFIG_PLUGIN),test-plugins)
+$(TCG_TESTS_TARGETS:%=run-tcg-tests-%): run-tcg-tests-%: build-tcg-tests-%
$(call quiet-command, \
$(MAKE) -C tests/tcg/$* -f ../Makefile.target $(SUBDIR_MAKEFLAGS) \
TARGET="$*" SRC_PATH="$(SRC_PATH)" SPEED=$(SPEED) run,
\
@@ -74,6 +74,7 @@ $(TCG_TESTS_TARGETS:%=clean-tcg-tests-%): clean-tcg-tests-%:
build-tcg: $(BUILD_TCG_TARGET_RULES)
.PHONY: check-tcg
+.ninja-goals.check-tcg = all $(if $(CONFIG_PLUGIN),test-plugins)
check-tcg: $(RUN_TCG_TARGET_RULES)
.PHONY: clean-tcg
--
2.30.2
- Re: [PULL 32/33] gitlab: don't run CI jobs in forks by default, (continued)
- [PULL 31/33] gitlab: convert build/container jobs to .base_job_template, Alex Bennée, 2022/06/01
- [PULL 17/33] tests/tcg: correct target CPU for sparc32, Alex Bennée, 2022/06/01
- [PULL 33/33] docs/devel: clean-up the CI links in the docs, Alex Bennée, 2022/06/01
- [PULL 29/33] gitlab: convert Cirrus jobs to .base_job_template, Alex Bennée, 2022/06/01
- [PULL 22/33] configure: include more binutils in tests/tcg makefile, Alex Bennée, 2022/06/01
- [PULL 27/33] configure: remove unused variables from config-host.mak, Alex Bennée, 2022/06/01
- [PULL 30/33] gitlab: convert static checks to .base_job_template, Alex Bennée, 2022/06/01
- [PULL 26/33] configure: enable cross compilation of vof, Alex Bennée, 2022/06/01
- [PULL 15/33] build: do a full build before running TCG tests,
Alex Bennée <=
- [PULL 23/33] configure: move symlink configuration earlier, Alex Bennée, 2022/06/01
- [PULL 19/33] configure: add missing cross compiler fallbacks, Alex Bennée, 2022/06/01
- [PULL 20/33] configure: handle host compiler in probe_target_compiler, Alex Bennée, 2022/06/01
- Re: [PULL 20/33] configure: handle host compiler in probe_target_compiler, Matheus Kowalczuk Ferst, 2022/06/15
- Re: [PULL 20/33] configure: handle host compiler in probe_target_compiler, Alex Bennée, 2022/06/15
- Re: [PULL 20/33] configure: handle host compiler in probe_target_compiler, Paolo Bonzini, 2022/06/17
- Re: [PULL 20/33] configure: handle host compiler in probe_target_compiler, Matheus Kowalczuk Ferst, 2022/06/20
- Re: [PULL 20/33] configure: handle host compiler in probe_target_compiler, Richard Henderson, 2022/06/20
- Re: [PULL 20/33] configure: handle host compiler in probe_target_compiler, Paolo Bonzini, 2022/06/21
- Re: [PULL 20/33] configure: handle host compiler in probe_target_compiler, Richard Henderson, 2022/06/21