[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH-for-5.1 6/8] tests/Makefile: Add fetch-acceptance-assets rule
From: |
Alex Bennée |
Subject: |
Re: [PATCH-for-5.1 6/8] tests/Makefile: Add fetch-acceptance-assets rule |
Date: |
Mon, 06 Apr 2020 16:41:50 +0100 |
User-agent: |
mu4e 1.3.10; emacs 28.0.50 |
Philippe Mathieu-Daudé <address@hidden> writes:
> Signed-off-by: Philippe Mathieu-Daudé <address@hidden>
> ---
> 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?
> check-acceptance: check-venv $(TESTS_RESULTS_DIR) get-vm-images
> $(call quiet-command, \
> $(TESTS_VENV_DIR)/bin/python -m avocado \
--
Alex Bennée
- [PATCH-for-5.0 1/8] Acceptance test: Fix to EXEC migration, (continued)
- [PATCH-for-5.0 1/8] Acceptance test: Fix to EXEC migration, Philippe Mathieu-Daudé, 2020/04/03
- [PATCH-for-5.0 2/8] tests/acceptance/ppc_prep_40p: Use cdn.netbsd.org hostname, Philippe Mathieu-Daudé, 2020/04/03
- [PATCH-for-5.0 3/8] tests/acceptance/ppc_prep_40p: Use mirror for ftp.software.ibm.com, Philippe Mathieu-Daudé, 2020/04/03
- [PATCH-for-5.0 4/8] tests/acceptance/machine_sparc_leon3: Disable HelenOS test, Philippe Mathieu-Daudé, 2020/04/03
- [PATCH-for-5.0 5/8] .travis.yml: Cache acceptance-test assets, Philippe Mathieu-Daudé, 2020/04/03
- [PATCH-for-5.1 6/8] tests/Makefile: Add fetch-acceptance-assets rule, Philippe Mathieu-Daudé, 2020/04/03
- Re: [PATCH-for-5.1 6/8] tests/Makefile: Add fetch-acceptance-assets rule,
Alex Bennée <=
- [PATCH-for-5.1 7/8] .travis.yml: Run fetch-acceptance-assets before check-acceptance, Philippe Mathieu-Daudé, 2020/04/03
[NOTFORMERGE PATCH 8/8] Kludge for Avocado issue #3661, Philippe Mathieu-Daudé, 2020/04/03