]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/dist: do not run race detector tests on netbsd
authorBenny Siegert <bsiegert@gmail.com>
Mon, 27 Aug 2018 13:16:38 +0000 (13:16 +0000)
committerBrad Fitzpatrick <bradfitz@golang.org>
Mon, 27 Aug 2018 15:11:45 +0000 (15:11 +0000)
The race detector is not fully functional on NetBSD yet. Without
this change, all.bash fails in TestOutput.

This unbreaks the netbsd-amd64 builder.

Update #26403
Fixes #27268

Change-Id: I2c7015692d3632aa1037f40155d4fc5c7bb1d8c3
Reviewed-on: https://go-review.googlesource.com/131555
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>

src/cmd/dist/test.go

index 3d0ef284484d4ee87ead449850ece91964eabbab..4cd854773f21d44004a8f70ec35e0727d45cbdaa 100644 (file)
@@ -1343,6 +1343,11 @@ func (t *tester) raceDetectorSupported() bool {
        if isAlpineLinux() {
                return false
        }
+       // NetBSD support is unfinished.
+       // golang.org/issue/26403
+       if goos == "netbsd" {
+               return false
+       }
        return true
 }