[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v5 01/20] Acceptance tests: show avocado test execut
From: |
Cleber Rosa |
Subject: |
[Qemu-devel] [PATCH v5 01/20] Acceptance tests: show avocado test execution by default |
Date: |
Tue, 12 Mar 2019 13:18:05 -0400 |
The current version of the "check-acceptance" target will only show
one line for execution of all tests. That's probably OK if the tests
to be run are quick enough and they're always the same.
But, there's already one test alone that takes on average ~5 seconds
to run, we intend to adapt the list of tests to match the user's build
environment (among other choices).
Because of that, let's present the default Avocado UI by default.
Users can always choose a different output by setting the AVOCADO_SHOW
variable.
Signed-off-by: Cleber Rosa <address@hidden>
Reviewed-by: Caio Carrara <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Reviewed-by: Alex Bennée <address@hidden>
Reviewed-by: Cornelia Huck <address@hidden>
---
.travis.yml | 2 +-
tests/Makefile.include | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/.travis.yml b/.travis.yml
index e942175dd3..4da8b803d6 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -203,7 +203,7 @@ matrix:
# Acceptance (Functional) tests
- env:
- CONFIG="--python=/usr/bin/python3 --target-list=x86_64-softmmu"
- - TEST_CMD="make AVOCADO_SHOW=app check-acceptance"
+ - TEST_CMD="make check-acceptance"
addons:
apt:
packages:
diff --git a/tests/Makefile.include b/tests/Makefile.include
index a5719551dd..c887f7164d 100644
--- a/tests/Makefile.include
+++ b/tests/Makefile.include
@@ -1137,7 +1137,7 @@ TESTS_RESULTS_DIR=$(BUILD_DIR)/tests/results
# 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=none
+AVOCADO_SHOW=app
ifneq ($(findstring v2,"v$(PYTHON_VERSION)"),v2)
$(TESTS_VENV_DIR): $(TESTS_VENV_REQ)
--
2.20.1
- [Qemu-devel] [PATCH v5 00/20] Acceptance Tests: target architecture support, Cleber Rosa, 2019/03/12
- [Qemu-devel] [PATCH v5 01/20] Acceptance tests: show avocado test execution by default,
Cleber Rosa <=
- [Qemu-devel] [PATCH v5 02/20] Acceptance tests: improve docstring on pick_default_qemu_bin(), Cleber Rosa, 2019/03/12
- [Qemu-devel] [PATCH v5 03/20] Acceptance tests: fix doc reference to avocado_qemu directory, Cleber Rosa, 2019/03/12
- [Qemu-devel] [PATCH v5 04/20] Acceptance tests: introduce arch parameter and attribute, Cleber Rosa, 2019/03/12
- [Qemu-devel] [PATCH v5 05/20] Acceptance tests: use "arch:" tag to filter target specific tests, Cleber Rosa, 2019/03/12
- [Qemu-devel] [PATCH v5 06/20] Acceptance tests: look for target architecture in test tags first, Cleber Rosa, 2019/03/12
- [Qemu-devel] [PATCH v5 08/20] Boot Linux Console Test: update the x86_64 kernel, Cleber Rosa, 2019/03/12
- [Qemu-devel] [PATCH v5 07/20] Boot Linux Console Test: rename the x86_64 after the arch and machine, Cleber Rosa, 2019/03/12
- [Qemu-devel] [PATCH v5 09/20] Boot Linux Console Test: add common kernel command line options, Cleber Rosa, 2019/03/12
- [Qemu-devel] [PATCH v5 10/20] Boot Linux Console Test: increase timeout, Cleber Rosa, 2019/03/12
- [Qemu-devel] [PATCH v5 11/20] Boot Linux Console Test: refactor the console watcher into utility method, Cleber Rosa, 2019/03/12