mirror of
https://gitlab.com/qemu-project/qemu
synced 2024-10-07 03:29:37 +00:00
tests/tcg: use regular semihosting for nios2-softmmu
The nios2 code now plugs into the common semihosting code so we can use the same redirect invocation as the other boards. There is however a bug raised for the fact the tests don't seem to be completing properly and silently passing anyway: https://gitlab.com/qemu-project/qemu/-/issues/1258 Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Message-Id: <20221027183637.2772968-9-alex.bennee@linaro.org>
This commit is contained in:
parent
b4c82b1b4d
commit
991e905123
|
@ -25,8 +25,7 @@ LDFLAGS += -Wl,-T$(LINK_SCRIPT) -static -nostdlib $(CRT_OBJS) -lgcc
|
||||||
%: %.o $(LINK_SCRIPT) $(CRT_OBJS)
|
%: %.o $(LINK_SCRIPT) $(CRT_OBJS)
|
||||||
$(call quiet-command, $(CC) $(CFLAGS) $(EXTRA_CFLAGS) $< -o $@ $(LDFLAGS), LD, $@)
|
$(call quiet-command, $(CC) $(CFLAGS) $(EXTRA_CFLAGS) $< -o $@ $(LDFLAGS), LD, $@)
|
||||||
|
|
||||||
# FIXME: nios2 semihosting writes to stdout, not a chardev
|
QEMU_OPTS = -M 10m50-ghrd,vic=on -semihosting-config enable=on,target=native,chardev=output -kernel
|
||||||
QEMU_OPTS = -M 10m50-ghrd,vic=on -semihosting >$@.out -kernel
|
|
||||||
|
|
||||||
memory: CFLAGS+=-DCHECK_UNALIGNED=0
|
memory: CFLAGS+=-DCHECK_UNALIGNED=0
|
||||||
TESTS += $(MULTIARCH_TESTS)
|
TESTS += $(MULTIARCH_TESTS)
|
||||||
|
|
Loading…
Reference in a new issue