Browse Source

tests/tcg/multiarch: add hello world system test

This is not really i386 only, we can have the same test for all
architectures supporting system tests.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
pull/81/head
Alex Bennée 7 years ago
parent
commit
49d755d02e
  1. 2
      tests/tcg/i386/Makefile.softmmu-target
  2. 0
      tests/tcg/multiarch/system/hello.c

2
tests/tcg/i386/Makefile.softmmu-target

@ -27,7 +27,7 @@ CFLAGS+=-m32
LINK_SCRIPT=$(I386_SYSTEM_SRC)/kernel.ld
LDFLAGS=-Wl,-T$(LINK_SCRIPT) -Wl,-melf_i386
# FIXME: move to common once x86_64 is bootstrapped
TESTS+=$(X86_TESTS)
TESTS+=$(X86_TESTS) $(MULTIARCH_TESTS)
endif
CFLAGS+=-nostdlib -ggdb -O0 $(MINILIB_INC)
LDFLAGS+=-static -nostdlib $(CRT_OBJS) $(MINILIB_OBJS) -lgcc

0
tests/tcg/i386/system/hello.c → tests/tcg/multiarch/system/hello.c

Loading…
Cancel
Save