[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PULL 01/19] tests/acceptance: show avocado test execution
From: |
Eduardo Habkost |
Subject: |
[Qemu-devel] [PULL 01/19] tests/acceptance: show avocado test execution by default |
Date: |
Thu, 2 May 2019 21:41:12 -0300 |
From: Cleber Rosa <address@hidden>
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>
Message-Id: <address@hidden>
Signed-off-by: Eduardo Habkost <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 2e06aee9d0..e6f951e01a 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -224,7 +224,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 e2432d5e77..445aa0bb12 100644
--- a/tests/Makefile.include
+++ b/tests/Makefile.include
@@ -1133,7 +1133,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.18.0.rc1.1.g3f1ff2140
- [Qemu-devel] [PULL 00/19] Python queue, 2019-05-02, Eduardo Habkost, 2019/05/02
- [Qemu-devel] [PULL 01/19] tests/acceptance: show avocado test execution by default,
Eduardo Habkost <=
- [Qemu-devel] [PULL 02/19] tests/acceptance: improve docstring on pick_default_qemu_bin(), Eduardo Habkost, 2019/05/02
- [Qemu-devel] [PULL 03/19] tests/acceptance: fix doc reference to avocado_qemu directory, Eduardo Habkost, 2019/05/02
- [Qemu-devel] [PULL 04/19] tests/acceptance: introduce arch parameter and attribute, Eduardo Habkost, 2019/05/02
- [Qemu-devel] [PULL 05/19] tests/acceptance: use "arch:" tag to filter target specific tests, Eduardo Habkost, 2019/05/02
- [Qemu-devel] [PULL 06/19] tests/acceptance: look for target architecture in test tags first, Eduardo Habkost, 2019/05/02
- [Qemu-devel] [PULL 07/19] tests/boot_linux_console: rename the x86_64 after the arch and machine, Eduardo Habkost, 2019/05/02
- [Qemu-devel] [PULL 08/19] tests/boot_linux_console: update the x86_64 kernel, Eduardo Habkost, 2019/05/02
- [Qemu-devel] [PULL 09/19] tests/boot_linux_console: add common kernel command line options, Eduardo Habkost, 2019/05/02
- [Qemu-devel] [PULL 10/19] tests/boot_linux_console: increase timeout, Eduardo Habkost, 2019/05/02