diff options
author | Paolo Bonzini | 2020-09-04 16:06:06 +0200 |
---|---|---|
committer | Paolo Bonzini | 2020-09-30 19:11:36 +0200 |
commit | 48a81fd5b42e854e6c4b70cec60e023db9675e33 (patch) | |
tree | da312f82b74e4abefc15cb5c4944384fea9d05e4 /Makefile | |
parent | meson: qtest: set "depends" correctly (diff) | |
download | qemu-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-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |