From: Caio Carrara <ccarrara@redhat.com>
To: Cleber Rosa <crosa@redhat.com>
Cc: qemu-devel@nongnu.org, "Eduardo Habkost" <ehabkost@redhat.com>,
"Wainer dos Santos Moschetta" <wainersm@redhat.com>,
"Philippe Mathieu-Daudé" <philmd@redhat.com>
Subject: Re: [Qemu-devel] [PATCH] Acceptance tests: drop usage of ":avocado: enable"
Date: Mon, 18 Feb 2019 15:24:10 -0300 [thread overview]
Message-ID: <20190218182409.GA2424@localhost.localdomain> (raw)
In-Reply-To: <20190218173723.26120-1-crosa@redhat.com>
Hi, Cleber.
On Mon, Feb 18, 2019 at 12:37:23PM -0500, Cleber Rosa wrote:
> The Avocado test runner attemps to find its INSTRUMENTED (that is,
> Python based tests) in a manner that is as safe as possible to the
> user. Different from plain Python unittest, it won't load or
> execute test code on an operation such as:
>
> $ avocado list tests/acceptance/
>
> Before version 68.0, the logic implemented to identify INSTRUMENTED
> tests would require either the ":avocado: enable" or ":avocado:
> recursive" statement as a flag for tests that would not inherit
> directly from "avocado.Test". This is not necessary anymore,
> and because of that the boiler plate statements can now be removed.
>
> Reference: https://avocado-framework.readthedocs.io/en/68.0/release_notes/68_0.html#users-test-writers
> Signed-off-by: Cleber Rosa <crosa@redhat.com>
Reviewed-by: Caio Carrara <ccarrara@redhat.com>
> ---
> docs/devel/testing.rst | 1 -
> tests/acceptance/boot_linux_console.py | 1 -
> tests/acceptance/linux_initrd.py | 1 -
> tests/acceptance/version.py | 1 -
> tests/acceptance/virtio_version.py | 1 -
> tests/acceptance/vnc.py | 1 -
> tests/requirements.txt | 2 +-
> 7 files changed, 1 insertion(+), 7 deletions(-)
>
{...}
> 2.20.1
>
Thanks,
--
Caio Carrara
Software Engineer, Virt Team - Red Hat
ccarrara@redhat.com
next prev parent reply other threads:[~2019-02-18 18:30 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-02-18 17:37 [Qemu-devel] [PATCH] Acceptance tests: drop usage of ":avocado: enable" Cleber Rosa
2019-02-18 18:24 ` Caio Carrara [this message]
2019-02-18 21:27 ` Philippe Mathieu-Daudé
2019-02-19 13:27 ` Wainer dos Santos Moschetta
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=20190218182409.GA2424@localhost.localdomain \
--to=ccarrara@redhat.com \
--cc=crosa@redhat.com \
--cc=ehabkost@redhat.com \
--cc=philmd@redhat.com \
--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).