+Cleber On 5/11/20 6:51 PM, Lukas Straub wrote: > On Mon, 11 May 2020 10:11:20 +0100 > Peter Maydell <peter.mayd...@linaro.org> wrote: > >> On Sat, 9 May 2020 at 14:18, Lukas Straub <lukasstra...@web.de> 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
Cleber what do you think of this approach? > > Regards, > Lukas Straub > >> thanks >> -- PMM >