From: Thomas Huth <thuth@redhat.com>
To: Max Reitz <mreitz@redhat.com>, qemu-devel@nongnu.org
Cc: "Fam Zheng" <fam@euphon.net>, "Kevin Wolf" <kwolf@redhat.com>,
"Ed Maste" <emaste@freebsd.org>,
qemu-block@nongnu.org, "Markus Armbruster" <armbru@redhat.com>,
"Christophe Fergeau" <cfergeau@redhat.com>,
"Alex Bennée" <alex.bennee@linaro.org>,
"Wainer dos Santos Moschetta" <wainersm@redhat.com>,
"Philippe Mathieu-Daudé" <philmd@redhat.com>,
"Li-Wen Hsu" <lwhsu@freebsd.org>
Subject: Re: [Qemu-devel] [PATCH v3 7/7] tests: Run the iotests during "make check" again
Date: Fri, 10 May 2019 06:29:47 +0200 [thread overview]
Message-ID: <eda4c5c1-45b8-79d2-1337-f5ee4c68f759@redhat.com> (raw)
In-Reply-To: <413645a6-385c-e112-ad9c-8525ef3d9e52@redhat.com>
[-- Attachment #1: Type: text/plain, Size: 1751 bytes --]
On 09/05/2019 20.08, Max Reitz wrote:
> On 02.05.19 10:45, Thomas Huth wrote:
>> People often forget to run the iotests before submitting patches or
>> pull requests - this is likely due to the fact that we do not run the
>> tests during our mandatory "make check" tests yet. Now that we've got
>> a proper "auto" group of iotests that should be fine to run in every
>> environment, we can enable the iotests during "make check" again by
>> running the "auto" tests by default from the check-block.sh script.
>>
>> Some cases still need to be checked first, though: iotests need bash
>> and GNU sed (otherwise they fail), and if gprof is enabled, it spoils
>> the output of some test cases causing them to fail. So if we detect
>> that one of the required programs is missing or that gprof is enabled,
>> we still have to skip the iotests to avoid failures.
>>
>> And finally, since we are using check-block.sh now again, this patch also
>> removes the qemu-iotests-quick.sh script since we do not need that anymore
>> (and having two shell wrapper scripts around the block tests seem
>> rather confusing than helpful).
>>
>> Signed-off-by: Thomas Huth <thuth@redhat.com>
>> ---
>> tests/Makefile.include | 8 +++----
>> tests/check-block.sh | 44 ++++++++++++++++++++++++++++---------
>> tests/qemu-iotests-quick.sh | 8 -------
>> 3 files changed, 38 insertions(+), 22 deletions(-)
>> delete mode 100755 tests/qemu-iotests-quick.sh
>
> Can I interest you in a Makefile target that explicitly excludes
> check-block? I run the iotests anyway, but I also run make check.
> Running some iotests twice would be a bit pointless.
Can't you simply run
./check -qcow2 -x auto
instead?
Thomas
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
next prev parent reply other threads:[~2019-05-10 4:31 UTC|newest]
Thread overview: 41+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-05-02 8:44 [Qemu-devel] [PATCH v3 0/7] tests/qemu-iotests: Run basic iotests during "make check" Thomas Huth
2019-05-02 8:44 ` Thomas Huth
2019-05-02 8:45 ` [Qemu-devel] [PATCH v3 1/7] tests/qemu-iotests/005: Add a sanity check for large sparse file support Thomas Huth
2019-05-02 8:45 ` Thomas Huth
2019-05-02 17:37 ` Alex Bennée
2019-05-02 17:37 ` Alex Bennée
2019-05-02 8:45 ` [Qemu-devel] [PATCH v3 2/7] tests/qemu-iotests/check: Pick a default machine if necessary Thomas Huth
2019-05-02 8:45 ` Thomas Huth
2019-05-02 8:45 ` [Qemu-devel] [PATCH v3 3/7] tests/qemu-iotests: Do not hard-code the path to bash Thomas Huth
2019-05-02 8:45 ` Thomas Huth
2019-05-02 8:45 ` [Qemu-devel] [PATCH v3 4/7] cirrus / travis: Add gnu-sed and bash for macOS and FreeBSD Thomas Huth
2019-05-02 8:45 ` Thomas Huth
2019-05-02 8:45 ` [Qemu-devel] [PATCH v3 5/7] tests/qemu-iotests: Remove the "_supported_os Linux" line from many tests Thomas Huth
2019-05-02 8:45 ` Thomas Huth
2019-05-02 8:45 ` [Qemu-devel] [PATCH v3 6/7] tests/qemu-iotests/group: Re-use the "auto" group for tests that can always run Thomas Huth
2019-05-02 8:45 ` Thomas Huth
2019-05-07 13:22 ` Markus Armbruster
2019-05-07 15:22 ` Thomas Huth
2019-05-07 15:50 ` Eric Blake
2019-05-08 5:47 ` Thomas Huth
2019-05-10 8:55 ` Thomas Huth
2019-05-10 9:15 ` [Qemu-devel] [PATCH v4] " Thomas Huth
2019-05-10 11:38 ` [Qemu-devel] [PATCH v3 6/7] " Markus Armbruster
2019-05-10 14:21 ` Kevin Wolf
2019-05-10 15:29 ` Markus Armbruster
2019-05-10 16:07 ` Kevin Wolf
2019-05-08 12:46 ` Markus Armbruster
2019-05-02 8:45 ` [Qemu-devel] [PATCH v3 7/7] tests: Run the iotests during "make check" again Thomas Huth
2019-05-02 8:45 ` Thomas Huth
2019-05-03 9:53 ` Alex Bennée
2019-05-03 9:53 ` Alex Bennée
2019-05-03 10:03 ` Thomas Huth
2019-05-03 10:03 ` Thomas Huth
2019-05-09 18:08 ` Max Reitz
2019-05-10 4:29 ` Thomas Huth [this message]
2019-05-10 13:34 ` Max Reitz
2019-05-10 13:36 ` Thomas Huth
2019-05-10 13:47 ` Max Reitz
2019-05-10 16:20 ` Thomas Huth
2019-05-10 17:40 ` Max Reitz
2019-05-10 13:38 ` Max Reitz
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=eda4c5c1-45b8-79d2-1337-f5ee4c68f759@redhat.com \
--to=thuth@redhat.com \
--cc=alex.bennee@linaro.org \
--cc=armbru@redhat.com \
--cc=cfergeau@redhat.com \
--cc=emaste@freebsd.org \
--cc=fam@euphon.net \
--cc=kwolf@redhat.com \
--cc=lwhsu@freebsd.org \
--cc=mreitz@redhat.com \
--cc=philmd@redhat.com \
--cc=qemu-block@nongnu.org \
--cc=qemu-devel@nongnu.org \
--cc=wainersm@redhat.com \
/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).