diff options
author | Paolo Bonzini | 2020-09-02 13:25:19 +0200 |
---|---|---|
committer | Paolo Bonzini | 2020-09-08 11:43:16 +0200 |
commit | 9ed7247a5969cf101ac3d22995ae06730b7da3ea (patch) | |
tree | 3bb2fbbdae25ebfbabbda457eb51ec033f2a2883 /Makefile | |
parent | tests: do not print benchmark output to stdout (diff) | |
download | qemu-9ed7247a5969cf101ac3d22995ae06730b7da3ea.tar.gz qemu-9ed7247a5969cf101ac3d22995ae06730b7da3ea.tar.xz qemu-9ed7247a5969cf101ac3d22995ae06730b7da3ea.zip |
meson: convert the speed tests
Use meson benchmark() for them, adjust mtest2make.py for that.
A new target "make bench" can be used to run all benchmarks.
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20200828110734.1638685-14-marcandre.lureau@redhat.com>
[Rewrite mtest2make part. - Paolo]
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -64,7 +64,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 | $(PYTHON) scripts/mtest2make.py > $@ + $(MESON) introspect --tests --benchmarks | $(PYTHON) scripts/mtest2make.py > $@ -include Makefile.mtest endif @@ -283,6 +283,7 @@ help: @echo '' @echo 'Test targets:' $(call print-help,check,Run all tests (check-help for details)) + $(call print-help,bench,Run all benchmarks) $(call print-help,docker,Help about targets running tests inside containers) $(call print-help,vm-help,Help about targets running tests inside VM) @echo '' |