From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54583) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fp8by-0004rE-Ud for qemu-devel@nongnu.org; Mon, 13 Aug 2018 04:54:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fp8by-0002Rp-1E for qemu-devel@nongnu.org; Mon, 13 Aug 2018 04:54:02 -0400 References: <20180810030139.25916-1-pavel.zbitskiy@gmail.com> <20180810030139.25916-2-pavel.zbitskiy@gmail.com> From: David Hildenbrand Message-ID: <64b9ce63-b879-aaaa-f1fa-4b4fd2e2e4f8@redhat.com> Date: Mon, 13 Aug 2018 10:53:58 +0200 MIME-Version: 1.0 In-Reply-To: <20180810030139.25916-2-pavel.zbitskiy@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [qemu-s390x] [PATCH 1/7] tests/tcg: add a simple s390x test List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Pavel Zbitskiy , qemu-devel@nongnu.org Cc: qemu-s390x@nongnu.org, cohuck@redhat.com, richard.henderson@linaro.org On 10.08.2018 05:01, Pavel Zbitskiy wrote: > Copied from alpha. > > Signed-off-by: Pavel Zbitskiy > --- > tests/tcg/s390x/Makefile.target | 3 +++ > tests/tcg/s390x/hello-s390x.c | 7 +++++++ > 2 files changed, 10 insertions(+) > create mode 100644 tests/tcg/s390x/Makefile.target > create mode 100644 tests/tcg/s390x/hello-s390x.c > > 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 > + > +int main(void) > +{ > + write(1, "hello\n", 6); > + return 0; > +} > Reviewed-by: David Hildenbrand -- Thanks, David / dhildenb