qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Willian Rampazzo <wrampazz@redhat.com>
To: "Alex Bennée" <alex.bennee@linaro.org>
Cc: "Fam Zheng" <fam@euphon.net>,
	"Eduardo Habkost" <ehabkost@redhat.com>,
	"KONRAD Frederic" <frederic.konrad@adacore.com>,
	qemu-devel <qemu-devel@nongnu.org>,
	"Fabien Chouteau" <chouteau@adacore.com>,
	"Kamil Rytarowski" <kamil@netbsd.org>,
	qemu-ppc@nongnu.org, "Cleber Rosa" <crosa@redhat.com>,
	"Hervé Poussineau" <hpoussin@reactos.org>,
	"Philippe Mathieu-Daudé" <philmd@redhat.com>
Subject: Re: [PATCH-for-5.1 6/8] tests/Makefile: Add fetch-acceptance-assets rule
Date: Mon, 6 Apr 2020 15:11:46 -0300	[thread overview]
Message-ID: <CAKJDGDbXMknOLw-xGGR3HJriCQB_-+1A5+eqf0DMb_hd6u99HA@mail.gmail.com> (raw)
In-Reply-To: <87zhboaaf5.fsf@linaro.org>

On Mon, Apr 6, 2020 at 12:41 PM Alex Bennée <alex.bennee@linaro.org> wrote:
>
>
> Philippe Mathieu-Daudé <philmd@redhat.com> writes:
>
> > Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
> > ---
> >  tests/Makefile.include | 7 +++++++
> >  1 file changed, 7 insertions(+)
> >
> > diff --git a/tests/Makefile.include b/tests/Makefile.include
> > index 51de676298..90f457593c 100644
> > --- a/tests/Makefile.include
> > +++ b/tests/Makefile.include
> > @@ -906,6 +906,13 @@ get-vm-image-fedora-31-%: check-venv
> >  # download all vm images, according to defined targets
> >  get-vm-images: check-venv $(patsubst %,get-vm-image-fedora-31-%, $(FEDORA_31_DOWNLOAD))
> >
> > +fetch-acceptance-assets: check-venv
> > +     $(call quiet-command, \
> > +            $(TESTS_VENV_DIR)/bin/python -m avocado \
> > +            --show=$(if $(DEBUG),avocado.test,$(AVOCADO_SHOW)) assets fetch \
> > +            tests/acceptance/*py, \
> > +            "AVOCADO", "tests/acceptance")
> > +
>
> I'm wondering if we could expand this to a rule per-test group and
> therefor allow parallel fetching of groups of assets?

This is a valid idea! Additionally, my suggestion is to organize the
tests by subdirectories under `tests/acceptance/`. Doing so makes it
easy to handle the target rule, adding the subdirectory to the assets
fetch command instead of listing specific tests for each group. Making
a list of tests for each group requires extra editing to the makefile
target when a new test is added. This can lead to new tests being
missed in their groups by mistake.

>
> >  check-acceptance: check-venv $(TESTS_RESULTS_DIR) get-vm-images
> >       $(call quiet-command, \
> >              $(TESTS_VENV_DIR)/bin/python -m avocado \
>
>
> --
> Alex Bennée
>



  reply	other threads:[~2020-04-06 18:16 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-03 17:29 [PATCH-for-5.0 0/8] Acceptance tests queue Philippe Mathieu-Daudé
2020-04-03 17:29 ` [PATCH-for-5.0 1/8] Acceptance test: Fix to EXEC migration Philippe Mathieu-Daudé
2020-04-03 17:29 ` [PATCH-for-5.0 2/8] tests/acceptance/ppc_prep_40p: Use cdn.netbsd.org hostname Philippe Mathieu-Daudé
2020-04-03 17:29 ` [PATCH-for-5.0 3/8] tests/acceptance/ppc_prep_40p: Use mirror for ftp.software.ibm.com Philippe Mathieu-Daudé
2020-04-06 13:54   ` Wainer dos Santos Moschetta
2020-04-06 14:07     ` Willian Rampazzo
2020-04-03 17:29 ` [PATCH-for-5.0 4/8] tests/acceptance/machine_sparc_leon3: Disable HelenOS test Philippe Mathieu-Daudé
2020-04-03 17:29 ` [PATCH-for-5.0 5/8] .travis.yml: Cache acceptance-test assets Philippe Mathieu-Daudé
2020-04-06 14:16   ` Wainer dos Santos Moschetta
2020-04-06 15:29   ` Alex Bennée
2020-04-03 17:29 ` [PATCH-for-5.1 6/8] tests/Makefile: Add fetch-acceptance-assets rule Philippe Mathieu-Daudé
2020-04-06 15:41   ` Alex Bennée
2020-04-06 18:11     ` Willian Rampazzo [this message]
2020-04-06 18:22       ` Alex Bennée
2020-04-03 17:29 ` [PATCH-for-5.1 7/8] .travis.yml: Run fetch-acceptance-assets before check-acceptance Philippe Mathieu-Daudé
2020-04-06 15:31   ` Alex Bennée
2020-04-06 15:39     ` Philippe Mathieu-Daudé
2020-04-06 17:55       ` Willian Rampazzo
2020-04-06 18:21         ` Alex Bennée
2020-04-06 18:39           ` Willian Rampazzo
2020-04-03 17:29 ` [NOTFORMERGE PATCH 8/8] Kludge for Avocado issue #3661 Philippe Mathieu-Daudé

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=CAKJDGDbXMknOLw-xGGR3HJriCQB_-+1A5+eqf0DMb_hd6u99HA@mail.gmail.com \
    --to=wrampazz@redhat.com \
    --cc=alex.bennee@linaro.org \
    --cc=chouteau@adacore.com \
    --cc=crosa@redhat.com \
    --cc=ehabkost@redhat.com \
    --cc=fam@euphon.net \
    --cc=frederic.konrad@adacore.com \
    --cc=hpoussin@reactos.org \
    --cc=kamil@netbsd.org \
    --cc=philmd@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-ppc@nongnu.org \
    /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).