From: Thomas Huth <thuth@redhat.com>
To: Paolo Bonzini <pbonzini@redhat.com>, qemu-devel@nongnu.org
Cc: qemu-block@nongnu.org
Subject: Re: [PATCH 2/4] build: make check-block a meson test
Date: Mon, 17 Jan 2022 11:09:24 +0100 [thread overview]
Message-ID: <7d7acd1b-5144-4ad5-102a-7517b43b1ac5@redhat.com> (raw)
In-Reply-To: <20220115222154.341628-3-pbonzini@redhat.com>
On 15/01/2022 23.21, Paolo Bonzini wrote:
> "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 | 6 +++---
> scripts/mtest2make.py | 10 +++++++++-
> tests/Makefile.include | 16 +++-------------
> tests/check-block.sh | 28 +++++++++++++---------------
> tests/meson.build | 1 +
> tests/qemu-iotests/meson.build | 29 +++++++++++++++++++++++++++++
> 6 files changed, 58 insertions(+), 32 deletions(-)
> create mode 100644 tests/qemu-iotests/meson.build
[...]
> diff --git a/tests/qemu-iotests/meson.build b/tests/qemu-iotests/meson.build
> new file mode 100644
> index 0000000000..94f161d59c
> --- /dev/null
> +++ b/tests/qemu-iotests/meson.build
> @@ -0,0 +1,29 @@
> +if have_tools
> + qemu_iotests_binaries = [qemu_img, qemu_io, qemu_nbd, qsd]
> + qemu_iotests_env = {'PYTHON': python.full_path()}
> + qemu_iotests_formats = {
> + 'raw': 'quick',
> + 'qcow2': 'slow',
> + 'qed': 'thorough',
> + 'vmdk': 'thorough',
> + 'vpc': 'thorough'
> + }
I think the default behavior for "quick" should be to test with qcow2 - most
iotests require that format and that's what we're currently using with "make
check-block" by default... i.e. please swap raw and qcow2 here.
Thomas
next prev parent reply other threads:[~2022-01-17 10:17 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-15 22:21 [PATCH 0/4] make check-block a meson test Paolo Bonzini
2022-01-15 22:21 ` [PATCH 1/4] scripts/mtest2make: add support for SPEED=thorough Paolo Bonzini
2022-01-15 22:21 ` [PATCH 2/4] build: make check-block a meson test Paolo Bonzini
2022-01-17 10:09 ` Thomas Huth [this message]
2022-01-17 17:48 ` Paolo Bonzini
2022-01-15 22:21 ` [PATCH 3/4] qemu-iotests: require at least an argument to check-block.sh Paolo Bonzini
2022-01-15 22:21 ` [PATCH 4/4] check-block: replace -makecheck with TAP output Paolo Bonzini
-- strict thread matches above, loose matches on Subject: below --
2021-10-15 10:07 [RFC PATCH 0/4] Replace custom test harness with "meson test" Paolo Bonzini
2021-10-15 10:07 ` [PATCH 2/4] build: make check-block a meson test Paolo Bonzini
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=7d7acd1b-5144-4ad5-102a-7517b43b1ac5@redhat.com \
--to=thuth@redhat.com \
--cc=pbonzini@redhat.com \
--cc=qemu-block@nongnu.org \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).