]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/dist: remove prints during test registration
authorBrad Fitzpatrick <bradfitz@golang.org>
Tue, 21 Jul 2015 19:47:22 +0000 (12:47 -0700)
committerBrad Fitzpatrick <bradfitz@golang.org>
Tue, 21 Jul 2015 22:40:01 +0000 (22:40 +0000)
dist test should not print (especially to stdout) during test
registration.  This confuses other tools interacting with dist using
dist test --list, etc.

Change-Id: Ie4f82c13e49590c23a7a235d90ddbc4f5ed81e0b
Reviewed-on: https://go-review.googlesource.com/12487
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/cmd/dist/test.go

index 8701d347097dcb0a0412d7125b770cc28b09226e..3a2da0e9fbdc6f6796ce7e7e4c24eb352aed1f79 100644 (file)
@@ -420,9 +420,9 @@ func (t *tester) registerTests() {
                        })
                        switch t.goos {
                        case "darwin":
-                               fmt.Println("Skipping misc/cgo/testsovar test. See issue 10360 for details.")
+                               // Skipping misc/cgo/testsovar test. See issue 10360 for details.
                        case "netbsd":
-                               fmt.Println("Skipping misc/cgo/testsovar test. See issue 11654 for details.")
+                               // Skipping misc/cgo/testsovar test. See issue 11654 for details.
                        default:
                                t.tests = append(t.tests, distTest{
                                        name:    "testsovar",