]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/go: delete testdata/testonly dir: it isn't being used anywhere
authorMichael Matloob <matloob@golang.org>
Wed, 8 Jan 2020 19:01:27 +0000 (14:01 -0500)
committerMichael Matloob <matloob@golang.org>
Wed, 19 Feb 2020 20:49:56 +0000 (20:49 +0000)
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 <jayconrod@google.com>
src/cmd/go/testdata/testonly/p_test.go [deleted file]
src/cmd/go/testdata/testonly2/t.go [deleted file]

diff --git a/src/cmd/go/testdata/testonly/p_test.go b/src/cmd/go/testdata/testonly/p_test.go
deleted file mode 100644 (file)
index c89cd18..0000000
+++ /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 (file)
index 82267d3..0000000
+++ /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() {}