diff options
author | Cherry Mui <cherryyz@google.com> | 2022-07-21 15:11:13 -0400 |
---|---|---|
committer | Cherry Mui <cherryyz@google.com> | 2022-07-21 20:11:06 +0000 |
commit | c4a6d3048bb89f372662083695f957f22973e4a6 (patch) | |
tree | b4b6a4bdb7b09f06031e3515379a707e1470d2f4 | |
parent | 244c8b050093ec546311707760afaafabcbf2fef (diff) | |
download | go-c4a6d3048bb89f372662083695f957f22973e4a6.tar.gz go-c4a6d3048bb89f372662083695f957f22973e4a6.zip |
cmd/dist: enable race detector test on S390X
The support was added but the test was not enabled. Enable it.
Fixes #53981.
Change-Id: I81ea73ea4ebc1013c35cb70ae88b096e02497887
Reviewed-on: https://go-review.googlesource.com/c/go/+/418914
Run-TryBot: Cherry Mui <cherryyz@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
-rw-r--r-- | src/cmd/dist/test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/dist/test.go b/src/cmd/dist/test.go index 846d0c0d85..976e8346ba 100644 --- a/src/cmd/dist/test.go +++ b/src/cmd/dist/test.go @@ -1720,7 +1720,7 @@ func (t *tester) runPrecompiledStdTest(timeout time.Duration) error { func raceDetectorSupported(goos, goarch string) bool { switch goos { case "linux": - return goarch == "amd64" || goarch == "ppc64le" || goarch == "arm64" + return goarch == "amd64" || goarch == "ppc64le" || goarch == "arm64" || goarch == "s390x" case "darwin": return goarch == "amd64" || goarch == "arm64" case "freebsd", "netbsd", "openbsd", "windows": |