]> Cypherpunks repositories - gostls13.git/commit
cmd/go: convert TestTestRegexps to the script framework
authorMichael Matloob <matloob@golang.org>
Thu, 2 Jan 2020 21:42:43 +0000 (16:42 -0500)
committerMichael Matloob <matloob@golang.org>
Tue, 7 Jan 2020 17:53:52 +0000 (17:53 +0000)
commit98418c998c73075b050f6e52088f8dbc4cbdf7ef
tree921e06b399963f986b338f3d6c8e1754abd73db2
parentc399afef61dadbc9deb2d5bc0cb8227200af00b9
cmd/go: convert TestTestRegexps to the script framework

It's hard to convert this one exactly because I don't think
we can guarantee that the grep command exists to filter stdout,
so I've tried to replicate the intent of the test.

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

Updates #36320
Updates #17751

Change-Id: Ib593799ef7634ce12efb3ff357eb34475e2ea321
Reviewed-on: https://go-review.googlesource.com/c/go/+/213130
Run-TryBot: Michael Matloob <matloob@golang.org>
Reviewed-by: Jay Conrod <jayconrod@google.com>
src/cmd/go/go_test.go
src/cmd/go/testdata/script/test_regexps.txt [new file with mode: 0644]
src/cmd/go/testdata/src/testregexp/x_test.go [deleted file]
src/cmd/go/testdata/src/testregexp/z_test.go [deleted file]