[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [RFC PATCH 03/13] tests/tcg: add QEMU_OPT option for test r
From: |
Alex Bennée |
Subject: |
[Qemu-devel] [RFC PATCH 03/13] tests/tcg: add QEMU_OPT option for test runner |
Date: |
Mon, 10 Dec 2018 15:28:19 +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>
---
tests/tcg/Makefile | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/tests/tcg/Makefile b/tests/tcg/Makefile
index d6a7fee2e7..e7215e8455 100644
--- a/tests/tcg/Makefile
+++ b/tests/tcg/Makefile
@@ -58,6 +58,8 @@ else
QEMU=../qemu-system-$(TARGET_NAME)
endif
+QEMU_OPTS=
+
# If TCG debugging is enabled things are a lot slower
ifeq ($(CONFIG_DEBUG_TCG),y)
TIMEOUT=45
@@ -108,7 +110,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)
$(QEMU_OPTS)")
.PHONY: run
run: $(RUN_TESTS)
--
2.17.1
- Re: [Qemu-devel] [RFC PATCH 04/13] tests/tcg/mips: enable mips32-dsp/mips32-dspr2/mipsr5900 linux-user (WIP), (continued)
- [Qemu-devel] [RFC PATCH 08/13] tests/docker: add fedora-cris-cross compilers, Alex Bennée, 2018/12/10
- [Qemu-devel] [RFC PATCH 02/13] tests: enable tcg tests for softmmu, Alex Bennée, 2018/12/10
- [Qemu-devel] [RFC PATCH 03/13] tests/tcg: add QEMU_OPT option for test runner,
Alex Bennée <=
- [Qemu-devel] [RFC PATCH 06/13] tests/docker: add debian-xtensa-cross image, Alex Bennée, 2018/12/10
- [Qemu-devel] [RFC PATCH 11/13] tests/tcg/cris: comment out the ccs test, Alex Bennée, 2018/12/10
- [Qemu-devel] [RFC PATCH 10/13] tests/tcg/cris: cleanup sys.c, Alex Bennée, 2018/12/10
- [Qemu-devel] [RFC PATCH 13/13] tests/tcg: enable cris system tests, Alex Bennée, 2018/12/10
- [Qemu-devel] [RFC PATCH 09/13] tests/tcg: split cris tests into system and user mode, Alex Bennée, 2018/12/10
- [Qemu-devel] [RFC PATCH 12/13] tests/tcg/cris: align mul operations, Alex Bennée, 2018/12/10