[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v1 27/34] tests/avocado: add :avocado: tags for some tests
|
From: |
Philippe Mathieu-Daudé |
|
Subject: |
Re: [PATCH v1 27/34] tests/avocado: add :avocado: tags for some tests |
|
Date: |
Mon, 10 Jan 2022 10:56:52 +0100 |
|
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.4.0 |
On 1/5/22 14:50, Alex Bennée wrote:
> This stops a bunch of tests failing because of a lack of
> "./qemu-system-x86-64" in a build directory where you have configured
> only one non-default target. I suspect what we really need is:
>
> :avocado: tags=arch:host
This doesn't seem right, these tests are generic...
> to be properly multi-arch safe.
>
> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
> ---
> tests/avocado/empty_cpu_model.py | 3 +++
> tests/avocado/info_usernet.py | 3 +++
> tests/avocado/migration.py | 1 +
> tests/avocado/version.py | 1 +
> tests/avocado/vnc.py | 1 +
> 5 files changed, 9 insertions(+)
>
> diff --git a/tests/avocado/empty_cpu_model.py
> b/tests/avocado/empty_cpu_model.py
> index 22f504418d..ffe27780a3 100644
> --- a/tests/avocado/empty_cpu_model.py
> +++ b/tests/avocado/empty_cpu_model.py
> @@ -11,6 +11,9 @@
>
> class EmptyCPUModel(QemuSystemTest):
> def test(self):
> + """
> + :avocado: tags=arch:x86_64
> + """
> self.vm.add_args('-S', '-display', 'none', '-machine', 'none',
> '-cpu', '')
> self.vm.set_qmp_monitor(enabled=False)
> self.vm.launch()
> diff --git a/tests/avocado/info_usernet.py b/tests/avocado/info_usernet.py
> index dc01f74150..bafbc0e23e 100644
> --- a/tests/avocado/info_usernet.py
> +++ b/tests/avocado/info_usernet.py
> @@ -16,6 +16,9 @@
> class InfoUsernet(QemuSystemTest):
>
> def test_hostfwd(self):
> + """
> + :avocado: tags=arch:x86_64
> + """
> self.vm.add_args('-netdev', 'user,id=vnet,hostfwd=:127.0.0.1:0-:22')
> self.vm.launch()
> res = self.vm.command('human-monitor-command',
> diff --git a/tests/avocado/migration.py b/tests/avocado/migration.py
> index 584d6ef53f..4e5516f425 100644
> --- a/tests/avocado/migration.py
> +++ b/tests/avocado/migration.py
> @@ -22,6 +22,7 @@
> class Migration(QemuSystemTest):
> """
> :avocado: tags=migration
> + :avocado: tags=arch:x86_64
> """
>
> timeout = 10
> diff --git a/tests/avocado/version.py b/tests/avocado/version.py
> index ded7f039c1..be794b9354 100644
> --- a/tests/avocado/version.py
> +++ b/tests/avocado/version.py
> @@ -15,6 +15,7 @@
> class Version(QemuSystemTest):
> """
> :avocado: tags=quick
> + :avocado: tags=arch:x86_64
> """
> def test_qmp_human_info_version(self):
> self.vm.add_args('-nodefaults')
> diff --git a/tests/avocado/vnc.py b/tests/avocado/vnc.py
> index 096432988f..1f80647414 100644
> --- a/tests/avocado/vnc.py
> +++ b/tests/avocado/vnc.py
> @@ -14,6 +14,7 @@
> class Vnc(QemuSystemTest):
> """
> :avocado: tags=vnc,quick
> + :avocado: tags=arch:x86_64
> """
> def test_no_vnc(self):
> self.vm.add_args('-nodefaults', '-S')
- [PATCH v1 07/34] tests: integrate lcitool for generating build env manifests, (continued)
- [PATCH v1 07/34] tests: integrate lcitool for generating build env manifests, Alex Bennée, 2022/01/05
- [PATCH v1 19/34] tests/tcg: use CONFIG_LINUX_USER, not CONFIG_LINUX, Alex Bennée, 2022/01/05
- [PATCH v1 15/34] tests/docker: updates to alpine package list, Alex Bennée, 2022/01/05
- [PATCH v1 05/34] ci: explicitly skip I/O tests on alpine, Alex Bennée, 2022/01/05
- [PATCH v1 09/34] tests/docker: auto-generate fedora.docker with lcitool, Alex Bennée, 2022/01/05
- [PATCH v1 11/34] tests/docker: auto-generate ubuntu2004.docker with lcitool, Alex Bennée, 2022/01/05
- [PATCH v1 27/34] tests/avocado: add :avocado: tags for some tests, Alex Bennée, 2022/01/05
- [PATCH v1 12/34] tests/docker: auto-generate opensuse-leap.docker with lcitool, Alex Bennée, 2022/01/05
- [PATCH v1 28/34] tests/tcg/multiarch: Read fp flags before printf, Alex Bennée, 2022/01/05
- [PATCH v1 33/34] docker: include bison in debian-tricore-cross, Alex Bennée, 2022/01/05
- [PATCH v1 31/34] docs/sphinx: fix compatibility with sphinx < 1.8, Alex Bennée, 2022/01/05
- [PATCH v1 23/34] docs/devel: update C standard to C11, Alex Bennée, 2022/01/05
- [PATCH v1 14/34] .gitlab-ci.d/cirrus: auto-generate variables with lcitool, Alex Bennée, 2022/01/05
- [PATCH v1 24/34] docs/devel: more documentation on the use of suffixes, Alex Bennée, 2022/01/05
- [PATCH v1 29/34] test/tcg/ppc64le: Add float reference files, Alex Bennée, 2022/01/05