tests/avocado: Allow overwriting AVOCADO_SHOW env variable
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Fri, 19 Jul 2024 18:02:11 +0000 (20:02 +0200)
committerThomas Huth <thuth@redhat.com>
Mon, 22 Jul 2024 11:54:10 +0000 (13:54 +0200)
The 'app' level logging is useful, but sometimes we want
more, for example QEMU leverages the 'console' logging.

Allow overwriting AVOCADO_SHOW from environment, i.e.:

  $ make check-avocado AVOCADO_SHOW='app,console'

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20240719180211.48073-1-philmd@linaro.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>
tests/Makefile.include

index d39d5dd6a43eaa3704cb52169e351e6877d3a923..6618bfed7022074680ba0896ce6c2d25e55a7a9e 100644 (file)
@@ -97,7 +97,7 @@ endif
 # Controls the output generated by Avocado when running tests.
 # Any number of command separated loggers are accepted.  For more
 # information please refer to "avocado --help".
-AVOCADO_SHOW=app
+AVOCADO_SHOW?=app
 ifndef AVOCADO_TAGS
        AVOCADO_CMDLINE_TAGS=$(patsubst %-softmmu,-t arch:%, \
                                                 $(filter %-softmmu,$(TARGETS)))