Message ID | 20221020115209.1761864-9-alex.bennee@linaro.org |
---|---|
State | New |
Headers | show |
Series | testing/next (docker, avocado, s390x, MAINTAINERS) | expand |
On 10/20/22 21:51, Alex Bennée wrote: > 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 > > Signed-off-by: Alex Bennée<alex.bennee@linaro.org> > --- > tests/tcg/nios2/Makefile.softmmu-target | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) Reviewed-by: Richard Henderson <richard.henderson@linaro.org> r~
diff --git a/tests/tcg/nios2/Makefile.softmmu-target b/tests/tcg/nios2/Makefile.softmmu-target index c3d0594a39..bc7fd55060 100644 --- a/tests/tcg/nios2/Makefile.softmmu-target +++ b/tests/tcg/nios2/Makefile.softmmu-target @@ -25,8 +25,7 @@ LDFLAGS += -Wl,-T$(LINK_SCRIPT) -static -nostdlib $(CRT_OBJS) -lgcc %: %.o $(LINK_SCRIPT) $(CRT_OBJS) $(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 >$@.out -kernel +QEMU_OPTS = -M 10m50-ghrd,vic=on -semihosting-config enable=on,target=native,chardev=output -kernel memory: CFLAGS+=-DCHECK_UNALIGNED=0 TESTS += $(MULTIARCH_TESTS)
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 Signed-off-by: Alex Bennée <alex.bennee@linaro.org> --- tests/tcg/nios2/Makefile.softmmu-target | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)