]> xenbits.xensource.com Git - qemu-xen.git/commit
build: make check-block a meson test
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 6 Oct 2021 09:27:47 +0000 (11:27 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 28 Jan 2022 10:13:33 +0000 (11:13 +0100)
commit98487b9035d8540376024df74ab5510fdc37f12e
tree4bdc68cc5004ccaecace5a34a3d41183a6a8b0d9
parent3e233e29178dd9ebd3b3c3382a2e0ebea9e8127d
build: make check-block a meson test

"meson test" can be asked to run tests verbosely; this makes it usable
also for qemu-iotests's own harness, and it lets "make check-block"
reuse mtest2make.py's infrastructure to find and build test dependencies.

Adjust check-block.sh to use the standard exit code that reports a test
as skipped.  Alternatively, in the future we could make it produce TAP
output, which is consistent with all other "make check" tests.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
meson.build
scripts/mtest2make.py
tests/Makefile.include
tests/check-block.sh
tests/meson.build
tests/qemu-iotests/meson.build [new file with mode: 0644]