[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PULL 08/26] tests/tcg: add QEMU_OPT option for test runner
From: |
Alex Bennée |
Subject: |
[Qemu-devel] [PULL 08/26] tests/tcg: add QEMU_OPT option for test runner |
Date: |
Tue, 12 Mar 2019 17:09:13 +0000 |
This will allow tests to modify the QEMU invocation with for example
different -cpu stazas without having to define a whole new set of
runner types.
Signed-off-by: Alex Bennée <address@hidden>
Reviewed-by: Richard Henderson <address@hidden>
diff --git a/tests/tcg/Makefile b/tests/tcg/Makefile
index 55feab0f67..454d0a4119 100644
--- a/tests/tcg/Makefile
+++ b/tests/tcg/Makefile
@@ -54,10 +54,13 @@ LDFLAGS=
# The QEMU for this TARGET
ifdef CONFIG_USER_ONLY
QEMU=../qemu-$(TARGET_NAME)
+QEMU_OPTS=
else
QEMU=../qemu-system-$(TARGET_NAME)
+QEMU_OPTS=-monitor none -display none
endif
+
# If TCG debugging is enabled things are a lot slower
ifeq ($(CONFIG_DEBUG_TCG),y)
TIMEOUT=45
@@ -108,7 +111,7 @@ RUN_TESTS=$(patsubst %,run-%, $(TESTS))
RUN_TESTS+=$(EXTRA_RUNS)
run-%: %
- $(call run-test, $<, $(QEMU) $<, "$< on $(TARGET_NAME)")
+ $(call run-test, $<, $(QEMU) $(QEMU_OPTS) $<, "$< on $(TARGET_NAME)")
.PHONY: run
run: $(RUN_TESTS)
--
2.20.1
- [Qemu-devel] [PULL 03/26] .travis.yml: reduce the module builds to major architectures, (continued)
- [Qemu-devel] [PULL 03/26] .travis.yml: reduce the module builds to major architectures, Alex Bennée, 2019/03/12
- [Qemu-devel] [PULL 01/26] travis: Bump Xcode 10 image to 10.2, Alex Bennée, 2019/03/12
- [Qemu-devel] [PULL 02/26] .travis.yml: combine docs and tools build with out-of-tree, Alex Bennée, 2019/03/12
- [Qemu-devel] [PULL 09/26] tests/tcg: split run-test into user and system variants, Alex Bennée, 2019/03/12
- [Qemu-devel] [PULL 16/26] tests/tcg/cris: cleanup sys.c, Alex Bennée, 2019/03/12
- [Qemu-devel] [PULL 15/26] tests/docker: add fedora-cris-cross compilers, Alex Bennée, 2019/03/12
- [Qemu-devel] [PULL 11/26] tests/tcg/mips: fix hello-mips compilation, Alex Bennée, 2019/03/12
- [Qemu-devel] [PULL 14/26] tests/tcg/arm: add ARMv6-M UNDEFINED 32-bit instruction test, Alex Bennée, 2019/03/12
- [Qemu-devel] [PULL 10/26] tests/tcg: add gdb runner variant, Alex Bennée, 2019/03/12
- [Qemu-devel] [PULL 07/26] tests/tcg: enable tcg tests for softmmu, Alex Bennée, 2019/03/12
- [Qemu-devel] [PULL 08/26] tests/tcg: add QEMU_OPT option for test runner,
Alex Bennée <=
- [Qemu-devel] [PULL 05/26] Makefile: explicitly pass $(BUILD_DIR) to gcovr, Alex Bennée, 2019/03/12
- [Qemu-devel] [PULL 04/26] Makefile: explicitly pass $(SRC_PATH) to gcovr, Alex Bennée, 2019/03/12
- Re: [Qemu-devel] [PULL 00/26] final testing updates for 4.0, Philippe Mathieu-Daudé, 2019/03/12
- Re: [Qemu-devel] [PULL 00/26] final testing updates for 4.0, Peter Maydell, 2019/03/14