]> Cypherpunks repositories - gostls13.git/commitdiff
test: add s390x case to nosplit test
authorMichael Munday <munday@ca.ibm.com>
Sun, 20 Mar 2016 23:41:34 +0000 (19:41 -0400)
committerBrad Fitzpatrick <bradfitz@golang.org>
Mon, 21 Mar 2016 08:14:51 +0000 (08:14 +0000)
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>

test/nosplit.go

index 082fc3b0e67fa86065afbaef6ce0fc2543c8a51c..a59a3c3c6c3e0502740de94ed394e92fe0a84798 100644 (file)
@@ -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")
                }