diff options
author | Paolo Bonzini | 2021-02-11 12:15:12 +0100 |
---|---|---|
committer | Paolo Bonzini | 2021-12-23 10:06:19 +0100 |
commit | 3d2f73ef75e25ba850aff4fcccb36d50137afd0f (patch) | |
tree | 419f11d8d2085b2f8f67a2bc2ddf070287ffd43e /Makefile | |
parent | Merge tag 'pull-user-20211220' of https://gitlab.com/rth7680/qemu into staging (diff) | |
download | qemu-3d2f73ef75e25ba850aff4fcccb36d50137afd0f.tar.gz qemu-3d2f73ef75e25ba850aff4fcccb36d50137afd0f.tar.xz qemu-3d2f73ef75e25ba850aff4fcccb36d50137afd0f.zip |
build: use "meson test" as the test harness
"meson test" starting with version 0.57 is just as capable and easy to
use as QEMU's own TAP driver. All existing options for "make check"
work. The only required code change involves how to mark "slow" tests;
they need to belong to an additional "slow" suite.
The rules for .tap output are replaced by JUnit XML; GitLab is able
to parse that output and present it in the CI pipeline report.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -145,7 +145,8 @@ NINJAFLAGS = $(if $V,-v) $(if $(MAKE.n), -n) $(if $(MAKE.k), -k0) \ $(filter-out -j, $(lastword -j1 $(filter -l% -j%, $(MAKEFLAGS)))) \ ninja-cmd-goals = $(or $(MAKECMDGOALS), all) -ninja-cmd-goals += $(foreach t, $(.tests), $(.test.deps.$t)) +ninja-cmd-goals += $(foreach t, $(.check.build-suites), $(.check-$t.deps)) +ninja-cmd-goals += $(foreach t, $(.bench.build-suites), $(.bench-$t.deps)) makefile-targets := build.ninja ctags TAGS cscope dist clean uninstall # "ninja -t targets" also lists all prerequisites. If build system |