diff options
author | Alex Bennée <alex.bennee@linaro.org> | 2019-04-29 15:41:46 +0100 |
---|---|---|
committer | Alex Bennée <alex.bennee@linaro.org> | 2019-05-28 10:28:51 +0100 |
commit | 49d755d02ef24df43747bbbbfd073f347f343ddf (patch) | |
tree | 5a2ca5a09b61d67f1a0325ddc965d529c7919bc5 /tests/tcg/i386 | |
parent | 8041650aefa7f22fddee945f92ecf5f4f2cb92eb (diff) |
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>
Diffstat (limited to 'tests/tcg/i386')
-rw-r--r-- | tests/tcg/i386/Makefile.softmmu-target | 2 | ||||
-rw-r--r-- | tests/tcg/i386/system/hello.c | 14 |
2 files changed, 1 insertions, 15 deletions
diff --git a/tests/tcg/i386/Makefile.softmmu-target b/tests/tcg/i386/Makefile.softmmu-target index 53c9c5ece0..c31bbbf39a 100644 --- a/tests/tcg/i386/Makefile.softmmu-target +++ b/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 diff --git a/tests/tcg/i386/system/hello.c b/tests/tcg/i386/system/hello.c deleted file mode 100644 index 821dc0ef09..0000000000 --- a/tests/tcg/i386/system/hello.c +++ /dev/null @@ -1,14 +0,0 @@ -/* - * Hello World, system test version - * - * We don't have the benefit of libc, just builtin C primitives and - * whatever is in minilib. - */ - -#include <minilib.h> - -int main(void) -{ - ml_printf("Hello World\n"); - return 0; -} |