[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] tests/acceptance/boot_linux: Skip slow Aarch64 'virt' machin
From: |
Lukas Straub |
Subject: |
Re: [PATCH] tests/acceptance/boot_linux: Skip slow Aarch64 'virt' machine TCG test |
Date: |
Mon, 11 May 2020 18:51:01 +0200 |
On Mon, 11 May 2020 10:11:20 +0100
Peter Maydell <address@hidden> wrote:
> On Sat, 9 May 2020 at 14:18, Lukas Straub <address@hidden> wrote:
> > Hi,
> > Why not simply add slow tag to the test. Like:
> > :avocado: tags=slow
> >
> > The slow tests can then be skipped with
> > $ make check-acceptance AVOCADO_TAGS='-t -slow'
>
> Is it possible to have the default be "do the fast stuff"
> and only do the slow stuff if the user asks? That's the
> way round that we do the iotests, I think.
I'd set AVOCADO_TAGS to '-t -slow' by default, but now that I look at the
Makefile it's not that simple:
AVOCADO_TAGS=$(patsubst %-softmmu,-t arch:%, $(filter %-softmmu,$(TARGET_DIRS)))
We'd have to change the tests to skip if their target was not built. Than we
can use tags for uses like this (and more like net, disk, ... tags). That would
make it easier to filter the tests one wants to run:
https://avocado-framework.readthedocs.io/en/78.0/guides/user/chapters/tags.html
Regards,
Lukas Straub
> thanks
> -- PMM
pgpBZ2sBHN66z.pgp
Description: OpenPGP digital signature