Skip to content

Commit d063b7c

Browse files
committed
cmd/dist: enable race detector test on Linux/ARM64
CL 138675 added the race detector support on Linux/ARM64, but it didn't enable the race detector tests in cmd/dist (therefore in all.bash). Enable them. Updates #28848 Change-Id: I4306dad2fb4167021d568436076b9f535d7f6e07 Reviewed-on: https://go-review.googlesource.com/c/149967 Run-TryBot: Cherry Zhang <[email protected]> Reviewed-by: Ian Lance Taylor <[email protected]>
1 parent 4e9b3ba commit d063b7c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cmd/dist/test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1471,7 +1471,7 @@ func (t *tester) packageHasBenchmarks(pkg string) bool {
14711471
func raceDetectorSupported(goos, goarch string) bool {
14721472
switch goos {
14731473
case "linux":
1474-
return goarch == "amd64" || goarch == "ppc64le"
1474+
return goarch == "amd64" || goarch == "ppc64le" || goarch == "arm64"
14751475
case "darwin", "freebsd", "netbsd", "windows":
14761476
return goarch == "amd64"
14771477
default:

0 commit comments

Comments
 (0)