From 4402ee9fa3fd98e37d123e364209933c2c1685bb Mon Sep 17 00:00:00 2001 From: Michael Munday Date: Sun, 20 Mar 2016 19:41:34 -0400 Subject: [PATCH] test: add s390x case to nosplit test Fixes this test on s390x. Change-Id: Ie5b70e8191169867765ec9248d827ca12c6405f4 Reviewed-on: https://go-review.googlesource.com/20964 Reviewed-by: Minux Ma Reviewed-by: Brad Fitzpatrick Run-TryBot: Brad Fitzpatrick TryBot-Result: Gobot Gobot --- test/nosplit.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/nosplit.go b/test/nosplit.go index 082fc3b0e6..a59a3c3c6c 100644 --- a/test/nosplit.go +++ b/test/nosplit.go @@ -275,6 +275,9 @@ TestCases: case "amd64": ptrSize = 8 fmt.Fprintf(&buf, "#define REGISTER AX\n") + case "s390x": + ptrSize = 8 + fmt.Fprintf(&buf, "#define REGISTER R10\n") default: fmt.Fprintf(&buf, "#define REGISTER AX\n") }