]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/dist: say 'go test .' instead of 'go test' in a few places for cleaner output
authorRuss Cox <rsc@golang.org>
Wed, 15 May 2019 18:33:16 +0000 (14:33 -0400)
committerRuss Cox <rsc@golang.org>
Thu, 16 May 2019 03:25:05 +0000 (03:25 +0000)
This just makes all.bash a bit less chatty.

Change-Id: I7d2ecabf0c7d8df2065d7052718f611bb2907801
Reviewed-on: https://go-review.googlesource.com/c/go/+/177418
Run-TryBot: Russ Cox <rsc@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/cmd/dist/test.go

index 54d9a644bafaca7859808efc7979047d0dedb72a..56ab64b8cf7885dc355eaa730acd5706b0148fbf 100644 (file)
@@ -656,8 +656,8 @@ func (t *tester) registerTests() {
        // recompile the entire standard library. If make.bash ran with
        // special -gcflags, that's not true.
        if t.cgoEnabled && gogcflags == "" {
-               t.registerTest("testso", "../misc/cgo/testso", t.goTest(), t.timeout(600))
-               t.registerTest("testsovar", "../misc/cgo/testsovar", t.goTest(), t.timeout(600))
+               t.registerTest("testso", "../misc/cgo/testso", t.goTest(), t.timeout(600), ".")
+               t.registerTest("testsovar", "../misc/cgo/testsovar", t.goTest(), t.timeout(600), ".")
                if t.supportedBuildmode("c-archive") {
                        t.registerHostTest("testcarchive", "../misc/cgo/testcarchive", "misc/cgo/testcarchive", ".")
                }
@@ -665,10 +665,10 @@ func (t *tester) registerTests() {
                        t.registerHostTest("testcshared", "../misc/cgo/testcshared", "misc/cgo/testcshared", ".")
                }
                if t.supportedBuildmode("shared") {
-                       t.registerTest("testshared", "../misc/cgo/testshared", t.goTest(), t.timeout(600))
+                       t.registerTest("testshared", "../misc/cgo/testshared", t.goTest(), t.timeout(600), ".")
                }
                if t.supportedBuildmode("plugin") {
-                       t.registerTest("testplugin", "../misc/cgo/testplugin", t.goTest(), t.timeout(600))
+                       t.registerTest("testplugin", "../misc/cgo/testplugin", t.goTest(), t.timeout(600), ".")
                }
                if gohostos == "linux" && goarch == "amd64" {
                        t.registerTest("testasan", "../misc/cgo/testasan", "go", "run", "main.go")