From: Michael Munday Date: Sun, 20 Mar 2016 23:41:34 +0000 (-0400) Subject: test: add s390x case to nosplit test X-Git-Tag: go1.7beta1~1183 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=4402ee9fa3fd98e37d123e364209933c2c1685bb;p=gostls13.git 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 --- 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") }