[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[qemu-s390x] [PULL 01/19] tests/tcg: add a simple s390x test
From: |
Cornelia Huck |
Subject: |
[qemu-s390x] [PULL 01/19] tests/tcg: add a simple s390x test |
Date: |
Wed, 29 Aug 2018 11:41:25 +0200 |
From: Pavel Zbitskiy <address@hidden>
Copied from alpha.
Signed-off-by: Pavel Zbitskiy <address@hidden>
Message-Id: <address@hidden>
Reviewed-by: Thomas Huth <address@hidden>
Reviewed-by: David Hildenbrand <address@hidden>
Signed-off-by: Cornelia Huck <address@hidden>
---
MAINTAINERS | 1 +
tests/tcg/s390x/Makefile.target | 3 +++
tests/tcg/s390x/hello-s390x.c | 7 +++++++
3 files changed, 11 insertions(+)
create mode 100644 tests/tcg/s390x/Makefile.target
create mode 100644 tests/tcg/s390x/hello-s390x.c
diff --git a/MAINTAINERS b/MAINTAINERS
index d12518c08f..fd1bce176f 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -253,6 +253,7 @@ S: Maintained
F: target/s390x/
F: hw/s390x/
F: disas/s390.c
+F: tests/tcg/s390x/
L: address@hidden
SH4
diff --git a/tests/tcg/s390x/Makefile.target b/tests/tcg/s390x/Makefile.target
new file mode 100644
index 0000000000..9f4076901f
--- /dev/null
+++ b/tests/tcg/s390x/Makefile.target
@@ -0,0 +1,3 @@
+VPATH+=$(SRC_PATH)/tests/tcg/s390x
+CFLAGS+=-march=zEC12 -m64
+TESTS+=hello-s390x
diff --git a/tests/tcg/s390x/hello-s390x.c b/tests/tcg/s390x/hello-s390x.c
new file mode 100644
index 0000000000..3dc0a05f2b
--- /dev/null
+++ b/tests/tcg/s390x/hello-s390x.c
@@ -0,0 +1,7 @@
+#include <unistd.h>
+
+int main(void)
+{
+ write(1, "hello\n", 6);
+ return 0;
+}
--
2.14.4
- [qemu-s390x] [PULL 12/19] hw/s390x: Move virtio-ccw-9p code to a separate file, (continued)
- [qemu-s390x] [PULL 12/19] hw/s390x: Move virtio-ccw-9p code to a separate file, Cornelia Huck, 2018/08/29
- [qemu-s390x] [PULL 15/19] hw/s390x: Move virtio-ccw-gpu code to a separate file, Cornelia Huck, 2018/08/29
- [qemu-s390x] [PULL 07/19] hw/s390x/virtio-ccw: Consolidate calls to virtio_ccw_unrealize(), Cornelia Huck, 2018/08/29
- [qemu-s390x] [PULL 08/19] hw/s390x: Move virtio-ccw-serial code to a separate file, Cornelia Huck, 2018/08/29
- [qemu-s390x] [PULL 10/19] hw/s390x: Move virtio-ccw-scsi code to a separate file, Cornelia Huck, 2018/08/29
- [qemu-s390x] [PULL 05/19] target/s390x: add EX support for TRT and TRTR, Cornelia Huck, 2018/08/29
- [qemu-s390x] [PULL 04/19] target/s390x: fix IPM polluting irrelevant bits, Cornelia Huck, 2018/08/29
- [qemu-s390x] [PULL 09/19] hw/s390x: Move virtio-ccw-balloon code to a separate file, Cornelia Huck, 2018/08/29
- [qemu-s390x] [PULL 06/19] target/s390x: fix PACK reading 1 byte less and writing 1 byte more, Cornelia Huck, 2018/08/29
- [qemu-s390x] [PULL 03/19] target/s390x: fix CSST decoding and runtime alignment check, Cornelia Huck, 2018/08/29
- [qemu-s390x] [PULL 01/19] tests/tcg: add a simple s390x test,
Cornelia Huck <=
- [qemu-s390x] [PULL 02/19] target/s390x: add BAL and BALR instructions, Cornelia Huck, 2018/08/29