summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorPaolo Bonzini2020-09-04 16:06:06 +0200
committerPaolo Bonzini2020-09-30 19:11:36 +0200
commit48a81fd5b42e854e6c4b70cec60e023db9675e33 (patch)
treeda312f82b74e4abefc15cb5c4944384fea9d05e4 /Makefile
parentmeson: qtest: set "depends" correctly (diff)
downloadqemu-48a81fd5b42e854e6c4b70cec60e023db9675e33.tar.gz
qemu-48a81fd5b42e854e6c4b70cec60e023db9675e33.tar.xz
qemu-48a81fd5b42e854e6c4b70cec60e023db9675e33.zip
mtest2make: add support for introspected test dependencies
Right now all "make check" targets depend blindly on "all". If Meson is 0.56.0 or newer, we can use the correct dependencies using the new "depends" entry in "meson introspect --tests". Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 9af24f1e8c..54fc1a9d10 100644
--- a/Makefile
+++ b/Makefile
@@ -78,7 +78,7 @@ ${ninja-targets-c_COMPILER} ${ninja-targets-cpp_COMPILER}: .var.command += -MP
# reread (and MESON won't be empty anymore).
ifneq ($(MESON),)
Makefile.mtest: build.ninja scripts/mtest2make.py
- $(MESON) introspect --tests --benchmarks | $(PYTHON) scripts/mtest2make.py > $@
+ $(MESON) introspect --targets --tests --benchmarks | $(PYTHON) scripts/mtest2make.py > $@
-include Makefile.mtest
endif