mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-09 18:44:58 -06:00
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>
This commit is contained in:
parent
8041650aef
commit
49d755d02e
2 changed files with 1 additions and 1 deletions
14
tests/tcg/multiarch/system/hello.c
Normal file
14
tests/tcg/multiarch/system/hello.c
Normal file
|
@ -0,0 +1,14 @@
|
|||
/*
|
||||
* 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;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue