]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/dist: disable misc/scgo/testsovar on netbsd
authorAlex Brainman <alex.brainman@gmail.com>
Sat, 11 Jul 2015 07:19:39 +0000 (17:19 +1000)
committerAlex Brainman <alex.brainman@gmail.com>
Sun, 12 Jul 2015 10:23:06 +0000 (10:23 +0000)
Update #11654

Change-Id: Ia199b8dd349542ad8b92b463dd2f3734dd7e66a4
Reviewed-on: https://go-review.googlesource.com/12060
Run-TryBot: Alex Brainman <alex.brainman@gmail.com>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/cmd/dist/test.go

index ff35c6cd4066fad9b2263d4760c71f12076b29ce..8d7b6f8807795226d686a6e6df04929b6f06c30a 100644 (file)
@@ -418,9 +418,12 @@ func (t *tester) registerTests() {
                                        return t.cgoTestSO("misc/cgo/testso")
                                },
                        })
-                       if t.goos == "darwin" {
+                       switch t.goos {
+                       case "darwin":
                                fmt.Println("Skipping misc/cgo/testsovar test. See issue 10360 for details.")
-                       } else {
+                       case "netbsd":
+                               fmt.Println("Skipping misc/cgo/testsovar test. See issue 11654 for details.")
+                       default:
                                t.tests = append(t.tests, distTest{
                                        name:    "testsovar",
                                        heading: "../misc/cgo/testsovar",