qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] tests/avocado: Allow overwritting AVOCADO_SHOW env variable


From: Philippe Mathieu-Daudé
Subject: [PATCH] tests/avocado: Allow overwritting AVOCADO_SHOW env variable
Date: Fri, 19 Jul 2024 20:02:11 +0200

The 'app' level logging is useful, but sometimes we want
more, for example QEMU leverages the 'console' logging.

Allow overwritting AVOCADO_SHOW from environment, i.e.:

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

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
---
 tests/Makefile.include | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/Makefile.include b/tests/Makefile.include
index d39d5dd6a4..6618bfed70 100644
--- a/tests/Makefile.include
+++ b/tests/Makefile.include
@@ -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)))
-- 
2.41.0




reply via email to

[Prev in Thread] Current Thread [Next in Thread]