[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v3 10/22] tests: provide test variables to other tar
From: |
Oleinik, Alexander |
Subject: |
[Qemu-devel] [PATCH v3 10/22] tests: provide test variables to other targets |
Date: |
Wed, 18 Sep 2019 23:19:37 +0000 |
Before, when tests/Makefile.include was included, the contents would be
ignored if config-host.mak was defined. Moving the ifneq responsible for
this allows a target to depend on both testing-related and host-related
objects. For example the virtual-device fuzzer relies on both
libqtest/libqos objects and softmmu objects.
Signed-off-by: Alexander Oleinik <address@hidden>
---
tests/Makefile.include | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/tests/Makefile.include b/tests/Makefile.include
index b39860a8d0..a9b3c36259 100644
--- a/tests/Makefile.include
+++ b/tests/Makefile.include
@@ -27,7 +27,6 @@ check-help:
@echo "Default options are -k and (for $(MAKE) V=1) --verbose; they can
be"
@echo "changed with variable GTESTER_OPTIONS."
-ifneq ($(wildcard config-host.mak),)
export SRC_PATH
# TODO don't duplicate $(SRC_PATH)/Makefile's qapi-py here
@@ -860,6 +859,8 @@ tests/test-qga$(EXESUF): tests/test-qga.o $(qtest-obj-y)
SPEED = quick
+ifneq ($(wildcard config-host.mak),)
+
# gtester tests, possibly with verbose output
# do_test_tap runs all tests, even if some of them fail, while do_test_human
# stops at the first failure unless -k is given on the command line
--
2.23.0
- Re: [Qemu-devel] [PATCH v3 05/22] libqtest: Add a layer of abstraciton to send/recv, (continued)
[Qemu-devel] [PATCH v3 08/22] module: check module wasn't already initialized, Oleinik, Alexander, 2019/09/18
[Qemu-devel] [PATCH v3 07/22] fuzz: Add target/fuzz makefile rules, Oleinik, Alexander, 2019/09/18
[Qemu-devel] [PATCH v3 06/22] fuzz: add configure flag --enable-fuzzing, Oleinik, Alexander, 2019/09/18
[Qemu-devel] [PATCH v3 09/22] qtest: add in-process incoming command handler, Oleinik, Alexander, 2019/09/18
[Qemu-devel] [PATCH v3 10/22] tests: provide test variables to other targets,
Oleinik, Alexander <=
[Qemu-devel] [PATCH v3 11/22] libqos: split qos-test and libqos makefile vars, Oleinik, Alexander, 2019/09/18
[Qemu-devel] [PATCH v3 13/22] libqtest: make qtest_bufwrite send "atomic", Oleinik, Alexander, 2019/09/18
[Qemu-devel] [PATCH v3 14/22] libqtest: add in-process qtest.c tx/rx handlers, Oleinik, Alexander, 2019/09/18