[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v5 1/5] Acceptance tests: use relative location for
From: |
Cleber Rosa |
Subject: |
[Qemu-devel] [PATCH v5 1/5] Acceptance tests: use relative location for tests |
Date: |
Wed, 13 Mar 2019 16:46:07 -0400 |
An Avocado Test ID[1] is composed by a number of components, but it
starts with the Test Name, usually a file system location that was
given to the loader.
Because the source directory is being given as a prefix to the
"tests/acceptance" directory containing the acceptance tests, the test
names will needlessly include the directory the user is using to host
the QEMU sources (and/or build tree).
Let's remove the source dir (or a build dir) from the path given to
the test loader. This should give more constant names, and when using
result servers and databases, it should give the same test names
across executions from different people or from different directories.
[1] -
https://avocado-framework.readthedocs.io/en/69.0/ReferenceGuide.html#test-id
Signed-off-by: Cleber Rosa <address@hidden>
---
tests/Makefile.include | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/Makefile.include b/tests/Makefile.include
index a5719551dd..546c101a14 100644
--- a/tests/Makefile.include
+++ b/tests/Makefile.include
@@ -1163,7 +1163,7 @@ check-acceptance: check-venv $(TESTS_RESULTS_DIR)
$(call quiet-command, \
$(TESTS_VENV_DIR)/bin/python -m avocado \
--show=$(AVOCADO_SHOW) run --job-results-dir=$(TESTS_RESULTS_DIR) \
- --failfast=on $(SRC_PATH)/tests/acceptance, \
+ --failfast=on tests/acceptance, \
"AVOCADO", "tests/acceptance")
# Consolidated targets
--
2.20.1
- [Qemu-devel] [PATCH v5 0/5] Add "boot_linux" acceptance test, Cleber Rosa, 2019/03/13
- [Qemu-devel] [PATCH v5 2/5] Acceptance tests: keep a stable reference to the QEMU build dir, Cleber Rosa, 2019/03/13
- [Qemu-devel] [PATCH v5 1/5] Acceptance tests: use relative location for tests,
Cleber Rosa <=
- [Qemu-devel] [PATCH v5 3/5] Acceptance tests: add the build directory to the system PATH, Cleber Rosa, 2019/03/13
- [Qemu-devel] [PATCH v5 4/5] Acceptance tests: depend on qemu-img, Cleber Rosa, 2019/03/13
- [Qemu-devel] [PATCH v5 5/5] Add "boot_linux" acceptance test for x86_64 and pc machine type, Cleber Rosa, 2019/03/13
- Re: [Qemu-devel] [PATCH v5 0/5] Add "boot_linux" acceptance test, no-reply, 2019/03/13
- Re: [Qemu-devel] [PATCH v5 0/5] Add "boot_linux" acceptance test, Wainer dos Santos Moschetta, 2019/03/14