aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/dist/test.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/dist/test.go')
-rw-r--r--src/cmd/dist/test.go6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/cmd/dist/test.go b/src/cmd/dist/test.go
index 0294a5babb..b6775cacbb 100644
--- a/src/cmd/dist/test.go
+++ b/src/cmd/dist/test.go
@@ -859,11 +859,7 @@ func (t *tester) registerTests() {
t.registerCgoTests(cgoHeading)
}
- // Don't run these tests with $GO_GCFLAGS because most of them
- // assume that they can run "go install" with no -gcflags and not
- // recompile the entire standard library. If make.bash ran with
- // special -gcflags, that's not true.
- if t.cgoEnabled && gogcflags == "" {
+ if t.cgoEnabled {
t.registerTest("cgo_testgodefs", cgoHeading, &goTest{pkg: "cmd/cgo/internal/testgodefs", timeout: 5 * time.Minute})
t.registerTest("cgo_testso", cgoHeading, &goTest{pkg: "cmd/cgo/internal/testso", timeout: 600 * time.Second})