From: Cleber Rosa <crosa@redhat.com>
To: qemu-devel@nongnu.org
Cc: "Alex Bennée" <alex.bennee@linaro.org>,
"Cleber Rosa" <crosa@redhat.com>,
"Eduardo Habkost" <ehabkost@redhat.com>,
"Fam Zheng" <famz@redhat.com>,
"Philippe Mathieu-Daudé" <pmathieu@redhat.com>,
"Caio Carrara" <ccarrara@redhat.com>,
"Stefan Hajnoczi" <stefanha@redhat.com>,
"Laszlo Ersek" <lersek@redhat.com>
Subject: [Qemu-devel] [PATCH v2 0/7] Acceptance Tests: basic architecture support
Date: Tue, 9 Oct 2018 19:26:00 -0400 [thread overview]
Message-ID: <20181009232607.15521-1-crosa@redhat.com> (raw)
The current version of the Acceptance Tests have been basically tested
on x86_64. Most of them should be valid tests on many different
architectures.
This introduces another standard test parameter, 'arch', and a public
test attribute with the same name. Then, because of the different
behavior in different QEMU targets, it adds a more explicit
configuration of the QEMUMachine machine type used on the tests (the
self.vm attribute).
Finally, for tests that are known to be architecture specific, it
changes the approach, from using tags to canceling the test. The
difference is that this reuses the same 'arch' parameter (so no need
to pass tags for the same reason), and instead of completely excluding
the test from the job, it just won't be executed on architectures that
are not supported. More details about this on the last commit.
Changes from v1:
================
* Fixed typo in docstring (s/param/type) (Murilo)
* Pretty print the "arch.json" variants file, in order to make
editing easier and avoid hitting email line length limits (Eric,
Philippe)
* Distinguish between host and target arch when canceling tests
(Philippe)
Cleber Rosa (7):
Acceptance Tests: improve docstring on pick_default_qemu_bin()
Acceptance Tests: introduce arch parameter and attribute
scripts/qemu.py: add method and private attribute for arch
scripts/qemu.py: set predefined machine type based on arch
Acceptance Tests: set machine type
Acceptance Tests: add variants definition for architectures
Acceptance Tests: change the handling of tests for specific archs
docs/devel/testing.rst | 18 +++++
scripts/qemu.py | 29 ++++++-
tests/acceptance/avocado_qemu/__init__.py | 17 ++++-
tests/acceptance/boot_linux_console.py | 6 +-
tests/acceptance/variants/arch.json | 92 +++++++++++++++++++++++
tests/acceptance/version.py | 2 +
tests/acceptance/vnc.py | 5 ++
7 files changed, 163 insertions(+), 6 deletions(-)
create mode 100644 tests/acceptance/variants/arch.json
--
2.17.1
next reply other threads:[~2018-10-09 23:26 UTC|newest]
Thread overview: 40+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-10-09 23:26 Cleber Rosa [this message]
2018-10-09 23:26 ` [Qemu-devel] [PATCH v2 1/7] Acceptance Tests: improve docstring on pick_default_qemu_bin() Cleber Rosa
2018-10-09 23:26 ` [Qemu-devel] [PATCH v2 2/7] Acceptance Tests: introduce arch parameter and attribute Cleber Rosa
2018-10-10 11:03 ` Philippe Mathieu-Daudé
2018-10-09 23:26 ` [Qemu-devel] [PATCH v2 3/7] scripts/qemu.py: add method and private attribute for arch Cleber Rosa
2018-10-10 10:52 ` Philippe Mathieu-Daudé
2018-10-09 23:26 ` [Qemu-devel] [PATCH v2 4/7] scripts/qemu.py: set predefined machine type based on arch Cleber Rosa
2018-10-10 11:00 ` Philippe Mathieu-Daudé
2018-10-10 12:35 ` Cleber Rosa
2018-10-10 13:46 ` Eduardo Habkost
2018-10-10 13:59 ` Cleber Rosa
2018-10-10 14:15 ` Cleber Rosa
2018-10-10 14:28 ` Eduardo Habkost
2018-10-10 15:26 ` Philippe Mathieu-Daudé
2018-10-10 15:58 ` Cleber Rosa
2018-10-10 16:08 ` Philippe Mathieu-Daudé
2018-10-10 18:08 ` Cleber Rosa
2018-10-10 15:31 ` Daniel P. Berrangé
2018-10-10 16:02 ` Cleber Rosa
2018-10-10 15:47 ` Cleber Rosa
2018-10-10 16:23 ` Peter Maydell
2018-10-10 17:52 ` Cleber Rosa
2018-10-10 18:07 ` Peter Maydell
2018-10-10 19:54 ` Cleber Rosa
2018-10-11 17:31 ` Peter Maydell
2018-10-11 0:17 ` Cleber Rosa
2018-10-11 3:42 ` Eduardo Habkost
2018-10-11 4:43 ` Cleber Rosa
2018-10-11 17:21 ` Eduardo Habkost
2018-10-09 23:26 ` [Qemu-devel] [PATCH v2 5/7] Acceptance Tests: set machine type Cleber Rosa
2018-10-09 23:26 ` [Qemu-devel] [PATCH v2 6/7] Acceptance Tests: add variants definition for architectures Cleber Rosa
2018-10-10 10:51 ` Philippe Mathieu-Daudé
2018-10-10 12:59 ` Cleber Rosa
2018-10-10 10:59 ` Philippe Mathieu-Daudé
2018-10-10 12:48 ` Cleber Rosa
2018-10-09 23:26 ` [Qemu-devel] [PATCH v2 7/7] Acceptance Tests: change the handling of tests for specific archs Cleber Rosa
2018-10-10 10:50 ` Philippe Mathieu-Daudé
2018-10-10 13:09 ` Cleber Rosa
2018-10-13 11:08 ` Philippe Mathieu-Daudé
2018-10-15 13:52 ` Cleber Rosa
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=20181009232607.15521-1-crosa@redhat.com \
--to=crosa@redhat.com \
--cc=alex.bennee@linaro.org \
--cc=ccarrara@redhat.com \
--cc=ehabkost@redhat.com \
--cc=famz@redhat.com \
--cc=lersek@redhat.com \
--cc=pmathieu@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=stefanha@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).