]> Cypherpunks repositories - gostls13.git/commit
cmd/go: convert TestGoBuildOutput to the script framework
authorMichael Matloob <matloob@golang.org>
Fri, 10 Jan 2020 19:48:49 +0000 (14:48 -0500)
committerMichael Matloob <matloob@golang.org>
Wed, 19 Feb 2020 21:08:26 +0000 (21:08 +0000)
commit7e368b3f5ae7a11648dcf590ec1f14a4126169f4
tree82afe81f929ab38efc854cb64ea155d4333ad111
parent99c78b7fc1b892808c72379e7915529cc0e73b05
cmd/go: convert TestGoBuildOutput to the script framework

Adds a in-script go binary called inarchive to check that an
archive is produced. A weaker could be done faster using grep,
but this is more faithful to the original test.

Part of converting all tests to script framework to improve
test parallelism.

Updates #36320
Updates #17751

Change-Id: I001fa0698063be80fe3da947c81d4eb0829be47f
Reviewed-on: https://go-review.googlesource.com/c/go/+/214295
Reviewed-by: Jay Conrod <jayconrod@google.com>
src/cmd/go/go_test.go
src/cmd/go/testdata/script/build_output.txt [new file with mode: 0644]