From: Michael Matloob Date: Wed, 8 Jan 2020 19:01:27 +0000 (-0500) Subject: cmd/go: delete testdata/testonly dir: it isn't being used anywhere X-Git-Tag: go1.15beta1~1219 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=b865bd1fb1ee46158247b7c0e6d9e434502f9beb;p=gostls13.git cmd/go: delete testdata/testonly dir: it isn't being used anywhere The TestGoBuildTestOnly test seems to be using files in testonly, but it's actually creating different files in a tempdir GOPATH that are completely unrelated. Part of converting all tests to script framework to improve test parallelism. Updates #36320 Updates #17751 Change-Id: Ie2c6d477bbb2eac7c013ee8dea9330a367b4f663 Reviewed-on: https://go-review.googlesource.com/c/go/+/213821 Reviewed-by: Jay Conrod --- diff --git a/src/cmd/go/testdata/testonly/p_test.go b/src/cmd/go/testdata/testonly/p_test.go deleted file mode 100644 index c89cd18d0f..0000000000 --- a/src/cmd/go/testdata/testonly/p_test.go +++ /dev/null @@ -1 +0,0 @@ -package p diff --git a/src/cmd/go/testdata/testonly2/t.go b/src/cmd/go/testdata/testonly2/t.go deleted file mode 100644 index 82267d32e4..0000000000 --- a/src/cmd/go/testdata/testonly2/t.go +++ /dev/null @@ -1,6 +0,0 @@ -// This package is not a test-only package, -// but it still matches the pattern ./testdata/testonly... when in cmd/go. - -package main - -func main() {}