Skip to content

Commit

Permalink
cmd/dist: enable -shared and external linking tests on s390x
Browse files Browse the repository at this point in the history
Change-Id: Iedd01ef3a9d2831cb55c53b7a1984e7e932f4249
Reviewed-on: https://go-review.googlesource.com/20932
Reviewed-by: Ian Lance Taylor <[email protected]>
  • Loading branch information
mundaym authored and bradfitz committed Mar 21, 2016
1 parent 060a691 commit 8bfb304
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cmd/dist/test.go
Original file line number Diff line number Diff line change
Expand Up @@ -681,7 +681,7 @@ func (t *tester) supportedBuildmode(mode string) bool {
return false
case "shared":
switch pair {
case "linux-386", "linux-amd64", "linux-arm", "linux-arm64", "linux-ppc64le":
case "linux-386", "linux-amd64", "linux-arm", "linux-arm64", "linux-ppc64le", "linux-s390x":
return true
}
return false
Expand Down Expand Up @@ -725,7 +725,7 @@ func (t *tester) cgoTest(dt *distTest) error {
case "android-arm",
"dragonfly-386", "dragonfly-amd64",
"freebsd-386", "freebsd-amd64", "freebsd-arm",
"linux-386", "linux-amd64", "linux-arm",
"linux-386", "linux-amd64", "linux-arm", "linux-s390x",
"netbsd-386", "netbsd-amd64":

cmd := t.addCmd(dt, "misc/cgo/test", "go", "test", "-ldflags", "-linkmode=external")
Expand Down

0 comments on commit 8bfb304

Please sign in to comment.