diff options
| author | Alex Bennée | 2018-12-06 12:09:17 +0100 |
|---|---|---|
| committer | Alex Bennée | 2019-03-12 18:05:21 +0100 |
| commit | 3d55c026241d2717b3fd97800889c19fad7b6ae8 (patch) | |
| tree | 9d3bb5401de226a228a4f010cb77e62080d64dea | |
| parent | tests/tcg: enable tcg tests for softmmu (diff) | |
| download | qemu-3d55c026241d2717b3fd97800889c19fad7b6ae8.tar.gz qemu-3d55c026241d2717b3fd97800889c19fad7b6ae8.tar.xz qemu-3d55c026241d2717b3fd97800889c19fad7b6ae8.zip | |
tests/tcg: add QEMU_OPT option for test runner
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 <alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
| -rw-r--r-- | tests/tcg/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
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) |
