aboutsummaryrefslogtreecommitdiff
path: root/tests/tcg/Makefile.qemu
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2022-04-19 10:10:11 +0100
committerAlex Bennée <alex.bennee@linaro.org>2022-04-20 16:04:20 +0100
commit5377a1000192ddfdb45d06877df7455009579f52 (patch)
treef264c8287ce225dbc0ac13687f1f5b2c323d8052 /tests/tcg/Makefile.qemu
parentf2d59351452a3f92b33eebbbf1ad6fae8bb7fdca (diff)
downloadqemu-5377a1000192ddfdb45d06877df7455009579f52.zip
qemu-5377a1000192ddfdb45d06877df7455009579f52.tar.gz
qemu-5377a1000192ddfdb45d06877df7455009579f52.tar.bz2
tests/tcg: list test targets in Makefile.prereqs
Omit the rules altogether for targets that do not have a compiler. Makefile.qemu now is only invoked if the tests are actually built/run. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Message-Id: <20220401141326.1244422-14-pbonzini@redhat.com> Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20220419091020.3008144-17-alex.bennee@linaro.org>
Diffstat (limited to 'tests/tcg/Makefile.qemu')
-rw-r--r--tests/tcg/Makefile.qemu11
1 files changed, 0 insertions, 11 deletions
diff --git a/tests/tcg/Makefile.qemu b/tests/tcg/Makefile.qemu
index 84c8543..cda5e5a 100644
--- a/tests/tcg/Makefile.qemu
+++ b/tests/tcg/Makefile.qemu
@@ -95,7 +95,6 @@ all:
.PHONY: guest-tests
-ifneq ($(GUEST_BUILD),)
guest-tests: $(GUEST_BUILD)
run-guest-tests: guest-tests
@@ -105,16 +104,6 @@ run-guest-tests: guest-tests
SRC_PATH="$(SRC_PATH)" SPEED=$(SPEED) run), \
"RUN", "tests for $(TARGET_NAME)")
-else
-guest-tests:
- $(call quiet-command, true, "BUILD", \
- "$(TARGET) guest-tests SKIPPED")
-
-run-guest-tests:
- $(call quiet-command, true, "RUN", \
- "tests for $(TARGET) SKIPPED")
-endif
-
# It doesn't matter if these don't exits
.PHONY: clean-guest-tests
clean-guest-tests: