mirror of https://github.com/xemu-project/xemu.git
tests/tcg: add a simple s390x test
Copied from alpha. Signed-off-by: Pavel Zbitskiy <pavel.zbitskiy@gmail.com> Message-Id: <20180821025104.19604-2-pavel.zbitskiy@gmail.com> Reviewed-by: Thomas Huth <thuth@redhat.com> Reviewed-by: David Hildenbrand <david@redhat.com> Signed-off-by: Cornelia Huck <cohuck@redhat.com>
This commit is contained in:
parent
19b599f766
commit
276ba120ed
|
@ -253,6 +253,7 @@ S: Maintained
|
||||||
F: target/s390x/
|
F: target/s390x/
|
||||||
F: hw/s390x/
|
F: hw/s390x/
|
||||||
F: disas/s390.c
|
F: disas/s390.c
|
||||||
|
F: tests/tcg/s390x/
|
||||||
L: qemu-s390x@nongnu.org
|
L: qemu-s390x@nongnu.org
|
||||||
|
|
||||||
SH4
|
SH4
|
||||||
|
|
|
@ -0,0 +1,3 @@
|
||||||
|
VPATH+=$(SRC_PATH)/tests/tcg/s390x
|
||||||
|
CFLAGS+=-march=zEC12 -m64
|
||||||
|
TESTS+=hello-s390x
|
|
@ -0,0 +1,7 @@
|
||||||
|
#include <unistd.h>
|
||||||
|
|
||||||
|
int main(void)
|
||||||
|
{
|
||||||
|
write(1, "hello\n", 6);
|
||||||
|
return 0;
|
||||||
|
}
|
Loading…
Reference in New Issue