[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 05/11] tests/Makefile: Only build usable targets during 'make che
From: |
Thomas Huth |
Subject: |
[PATCH 05/11] tests/Makefile: Only build usable targets during 'make check-build' |
Date: |
Tue, 4 Aug 2020 19:00:49 +0200 |
If the softmmu targets are not enabled, "make check-build" fails to
build the qtests (which could not be run anyway without softmmu binary).
And the softfloat tests can not be compiled with MinGW yet (the macro
LITTLEENDIAN is re-defined in one of the system headers there, so this
needs some work first before it can be compiled).
Signed-off-by: Thomas Huth <thuth@redhat.com>
---
tests/Makefile.include | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/tests/Makefile.include b/tests/Makefile.include
index 430119db74..2806e062d0 100644
--- a/tests/Makefile.include
+++ b/tests/Makefile.include
@@ -965,7 +965,10 @@ check-qtest: $(patsubst %,check-qtest-%, $(QTEST_TARGETS))
ifeq ($(CONFIG_TOOLS),y)
check-block: $(patsubst %,check-%, $(check-block-y))
endif
-check-build: build-unit build-softfloat build-qtest
+check-build-y = build-unit
+check-build-$(CONFIG_POSIX) += build-softfloat
+check-build-$(CONFIG_SOFTMMU) += build-qtest
+check-build: $(check-build-y)
check-clean:
rm -rf $(check-unit-y) tests/*.o tests/*/*.o $(QEMU_IOTESTS_HELPERS-y)
--
2.18.1
- [PATCH 00/11] Run cross-compilation build tests in the gitlab-CI, Thomas Huth, 2020/08/04
- [PATCH 02/11] target/riscv/vector_helper: Fix build on 32-bit big endian targets, Thomas Huth, 2020/08/04
- [PATCH 01/11] virtio-mem: Correct format specifier mismatch for RISC-V, Thomas Huth, 2020/08/04
- [PATCH 03/11] tests/Makefile: test-image-locking needs CONFIG_POSIX, Thomas Huth, 2020/08/04
- [PATCH 04/11] tests/Makefile: test-replication needs CONFIG_POSIX, Thomas Huth, 2020/08/04
- [PATCH 05/11] tests/Makefile: Only build usable targets during 'make check-build',
Thomas Huth <=
- [PATCH 07/11] Get rid of the libqemustub.a remainders, Thomas Huth, 2020/08/04
- [PATCH 06/11] tests/Makefile: Add $(EXESUF) to fp-test target, Thomas Huth, 2020/08/04
- [PATCH 08/11] stubs/notify-event: Mark qemu_notify_event() stub as "weak", Thomas Huth, 2020/08/04