]> xenbits.xensource.com Git - people/aperard/qemu-dm.git/commitdiff
tests/tcg: ensure s390x-softmmu output redirected
authorAlex Bennée <alex.bennee@linaro.org>
Mon, 16 Sep 2024 08:53:54 +0000 (09:53 +0100)
committerAlex Bennée <alex.bennee@linaro.org>
Thu, 19 Sep 2024 14:58:01 +0000 (15:58 +0100)
The multiarch system tests output serial data which should be
redirected to the "output" chardev rather than echoed to the console.

Comment the use of EXTFLAGS variable while we are at it.

Acked-by: Ilya Leoshkevich <iii@linux.ibm.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20240916085400.1046925-13-alex.bennee@linaro.org>

tests/tcg/s390x/Makefile.softmmu-target

index f60f94b090e8450a8d4cdff613174124718a70e3..be242ba8f15eb560f306b3cf174ab8ea76df7118 100644 (file)
@@ -1,6 +1,7 @@
 S390X_SRC=$(SRC_PATH)/tests/tcg/s390x
 VPATH+=$(S390X_SRC)
-QEMU_OPTS+=-action panic=exit-failure -nographic $(EXTFLAGS) -kernel
+# EXTFLAGS can be passed by the user, e.g. to override the --accel
+QEMU_OPTS+=-action panic=exit-failure -nographic -serial chardev:output $(EXTFLAGS) -kernel
 LINK_SCRIPT=$(S390X_SRC)/softmmu.ld
 CFLAGS+=-ggdb -O0
 LDFLAGS=-nostdlib -static