diff options
author | Michael Munday <munday@ca.ibm.com> | 2016-03-20 19:41:34 -0400 |
---|---|---|
committer | Brad Fitzpatrick <bradfitz@golang.org> | 2016-03-21 08:14:51 +0000 |
commit | 4402ee9fa3fd98e37d123e364209933c2c1685bb (patch) | |
tree | 489bbefb8581421503f54847b977117c8cfd9928 /test/nosplit.go | |
parent | cc17d1ba76e208cebe447e1b0c85e8e7702f5057 (diff) | |
download | go-4402ee9fa3fd98e37d123e364209933c2c1685bb.tar.gz go-4402ee9fa3fd98e37d123e364209933c2c1685bb.zip |
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 <minux@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Diffstat (limited to 'test/nosplit.go')
-rw-r--r-- | test/nosplit.go | 3 |
1 files changed, 3 insertions, 0 deletions
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") } |