]> Cypherpunks repositories - gostls13.git/commit
cmd/go: add test for tests with no tests
authorRuss Cox <rsc@golang.org>
Mon, 9 Jul 2018 14:46:28 +0000 (10:46 -0400)
committerRuss Cox <rsc@golang.org>
Tue, 10 Jul 2018 03:00:05 +0000 (03:00 +0000)
commit5a8b652c6e93311fb6f336e7075aee46ef560213
tree205b0eeaa89f1c20bd1a880e794d3ca517ed4a88
parentc801232525575a6b473cdfd446de30905a6d15e3
cmd/go: add test for tests with no tests

CL 122518 rolled back an earlier CL that made "go test"
start running test binaries for packages with no *_test.go files.
Add a test as another roadblock to reintroducing that behavior
in the future.

For #26462.

Change-Id: I898103064efee8d6ae65bcf74f4dffc830eae7e9
Reviewed-on: https://go-review.googlesource.com/122595
Run-TryBot: Russ Cox <rsc@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/cmd/go/go_test.go
src/cmd/go/testdata/src/testnorun/p.go [new file with mode: 0644]