From: "Philippe Mathieu-Daudé" <philmd@redhat.com>
To: Willian Rampazzo <willianr@redhat.com>, qemu-devel@nongnu.org
Cc: "Thomas Huth" <thuth@redhat.com>,
"Daniel P. Berrangé" <berrange@redhat.com>,
"Eduardo Habkost" <ehabkost@redhat.com>,
"Wainer dos Santos Moschetta" <wainersm@redhat.com>,
"Niek Linnenbank" <nieklinnenbank@gmail.com>,
qemu-arm@nongnu.org, qemu-ppc@nongnu.org,
"Cleber Rosa" <crosa@redhat.com>,
"Michael Rolnik" <mrolnik@gmail.com>,
"John Snow" <jsnow@redhat.com>,
"Hervé Poussineau" <hpoussin@reactos.org>
Subject: Re: [PATCH 1/1] tests/acceptance: rename tests acceptance to tests avocado
Date: Thu, 4 Nov 2021 13:50:19 +0100 [thread overview]
Message-ID: <3f261dc1-aa3c-affe-1d56-1e41e2ccf6fa@redhat.com> (raw)
In-Reply-To: <20211103211404.79953-2-willianr@redhat.com>
On 11/3/21 22:14, Willian Rampazzo wrote:
> In the discussion about renaming the `tests/acceptance` [1], the
> conclusion was that the folders inside `tests` are related to the
> framework running the tests and not directly related to the type of
> the tests.
>
> This changes the folder to `tests/avocado` and adjusts the MAKEFILE, the
> CI related files and the documentation.
>
> [1] https://lists.gnu.org/archive/html/qemu-devel/2021-05/msg06553.html
>
> Signed-off-by: Willian Rampazzo <willianr@redhat.com>
> ---
> 64 files changed, 113 insertions(+), 118 deletions(-)
> --- a/tests/Makefile.include
> +++ b/tests/Makefile.include
> -.PHONY: check-venv check-acceptance
> +.PHONY: check-venv check-avocado
> -check-acceptance: check-venv $(TESTS_RESULTS_DIR) get-vm-images
> +check-avocado: check-venv $(TESTS_RESULTS_DIR) get-vm-images
> $(call quiet-command, \
> $(TESTS_VENV_DIR)/bin/python -m avocado \
> --show=$(AVOCADO_SHOW) run --job-results-dir=$(TESTS_RESULTS_DIR) \
We should keep check-acceptance, eventually printing a deprecation
message. Smth like:
check-acceptance: check-avocado a
@echo "Note 'make $@' is deprecated, use 'make $<' instead" >&2
> --- a/tests/acceptance/ppc_prep_40p.py
> +++ b/tests/avocado/ppc_prep_40p.py
> @@ -13,6 +13,10 @@
>
>
> class IbmPrep40pMachine(Test):
> + """
> + :avocado: tags=arch:ppc
> + :avocado: tags=machine:40p
> + """
>
> timeout = 60
>
> @@ -24,8 +28,6 @@ class IbmPrep40pMachine(Test):
> @skipUnless(os.getenv('AVOCADO_ALLOW_UNTRUSTED_CODE'), 'untrusted code')
> def test_factory_firmware_and_netbsd(self):
> """
> - :avocado: tags=arch:ppc
> - :avocado: tags=machine:40p
> :avocado: tags=os:netbsd
> :avocado: tags=slowness:high
> """
> @@ -48,10 +50,6 @@ def test_factory_firmware_and_netbsd(self):
> wait_for_console_pattern(self, 'Model: IBM PPS Model 6015')
>
> def test_openbios_192m(self):
> - """
> - :avocado: tags=arch:ppc
> - :avocado: tags=machine:40p
> - """
> self.vm.set_console()
> self.vm.add_args('-m', '192') # test fw_cfg
>
> @@ -62,8 +60,6 @@ def test_openbios_192m(self):
>
> def test_openbios_and_netbsd(self):
> """
> - :avocado: tags=arch:ppc
> - :avocado: tags=machine:40p
> :avocado: tags=os:netbsd
> """
> drive_url = ('https://archive.netbsd.org/pub/NetBSD-archive/'
Unrelated change, otherwise:
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com>
next prev parent reply other threads:[~2021-11-04 13:07 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-03 21:14 [PATCH 0/1] tests/acceptance: rename tests acceptance to tests avocado Willian Rampazzo
2021-11-03 21:14 ` [PATCH 1/1] " Willian Rampazzo
2021-11-04 12:50 ` Philippe Mathieu-Daudé [this message]
2021-11-04 13:15 ` Willian Rampazzo
2021-11-03 22:19 ` [PATCH 0/1] " Niek Linnenbank
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=3f261dc1-aa3c-affe-1d56-1e41e2ccf6fa@redhat.com \
--to=philmd@redhat.com \
--cc=berrange@redhat.com \
--cc=crosa@redhat.com \
--cc=ehabkost@redhat.com \
--cc=hpoussin@reactos.org \
--cc=jsnow@redhat.com \
--cc=mrolnik@gmail.com \
--cc=nieklinnenbank@gmail.com \
--cc=qemu-arm@nongnu.org \
--cc=qemu-devel@nongnu.org \
--cc=qemu-ppc@nongnu.org \
--cc=thuth@redhat.com \
--cc=wainersm@redhat.com \
--cc=willianr@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).