[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 06/14] tests/tcg: fixup Aarch64 semiconsole test
From: |
Alex Bennée |
Subject: |
[PATCH v2 06/14] tests/tcg: fixup Aarch64 semiconsole test |
Date: |
Mon, 20 Nov 2023 15:08:25 +0000 |
We need to ensure we squash the serial port if we want to hand craft
our muxed input. As a bonus emit the example with a V=1 build to make
it easier for people to figure out.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
---
tests/tcg/aarch64/Makefile.softmmu-target | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/tests/tcg/aarch64/Makefile.softmmu-target
b/tests/tcg/aarch64/Makefile.softmmu-target
index b74a2534e3..77c5018e02 100644
--- a/tests/tcg/aarch64/Makefile.softmmu-target
+++ b/tests/tcg/aarch64/Makefile.softmmu-target
@@ -48,10 +48,11 @@ QEMU_BASE_MACHINE=-M virt -cpu max -display none
QEMU_OPTS+=$(QEMU_BASE_MACHINE) -semihosting-config
enable=on,target=native,chardev=output -kernel
# console test is manual only
-QEMU_SEMIHOST=-chardev stdio,mux=on,id=stdio0 -semihosting-config
enable=on,chardev=stdio0 -mon chardev=stdio0,mode=readline
-run-semiconsole: QEMU_OPTS=$(QEMU_BASE_MACHINE) $(QEMU_SEMIHOST) -kernel
+QEMU_SEMIHOST=-serial none -chardev stdio,mux=on,id=stdio0 -semihosting-config
enable=on,chardev=stdio0 -mon chardev=stdio0,mode=readline
+run-semiconsole: QEMU_OPTS=$(QEMU_BASE_MACHINE) $(QEMU_SEMIHOST) -kernel
run-semiconsole: semiconsole
$(call skip-test, $<, "MANUAL ONLY")
+ $(if $(V),@printf " %-7s %s %s\n" "TO RUN" $(notdir $(QEMU))
"$(QEMU_OPTS) $<")
run-plugin-semiconsole-with-%: semiconsole
$(call skip-test, $<, "MANUAL ONLY")
--
2.39.2
- [PATCH v2 00/14] random fixes for 8.2 pre-PR (tests, plugins, docs, semihosting), Alex Bennée, 2023/11/20
- [PATCH v2 04/14] plugins: fix win plugin tests on cross compile, Alex Bennée, 2023/11/20
- [PATCH v2 02/14] .gitlab-ci.d/cirrus: Upgrade macOS to 13 (Ventura), Alex Bennée, 2023/11/20
- [PATCH v2 05/14] target/nios2: Deprecate the Nios II architecture, Alex Bennée, 2023/11/20
- [PATCH v2 01/14] tests/docker: replace fedora-i386 with debian-i686, Alex Bennée, 2023/11/20
- [PATCH v2 08/14] docs/system: clarify limits of using gdbstub in system emulation, Alex Bennée, 2023/11/20
- [PATCH v2 03/14] tests/docker: merge debian-native with debian-amd64, Alex Bennée, 2023/11/20
- [PATCH v2 07/14] docs/emulation: expand warning about semihosting, Alex Bennée, 2023/11/20
- [PATCH v2 06/14] tests/tcg: fixup Aarch64 semiconsole test,
Alex Bennée <=
- [PATCH v2 13/14] configure: don't try a "native" cross for linux-user, Alex Bennée, 2023/11/20
- [PATCH v2 14/14] tests/tcg: finesse the registers check for "hidden" regs, Alex Bennée, 2023/11/20
- [PATCH v2 11/14] tests/tcg: enable arm softmmu tests, Alex Bennée, 2023/11/20
- [PATCH v2 09/14] hw/core: skip loading debug on all failures, Alex Bennée, 2023/11/20
- [PATCH v2 10/14] testing: move arm system tests into their own folder, Alex Bennée, 2023/11/20
- [PATCH v2 12/14] tests/tcg: enable semiconsole test for Arm, Alex Bennée, 2023/11/20