]> Cypherpunks repositories - gostls13.git/commit
cmd/go: convert tests using testdata/src/syntaxerror to scripts
authorMichael Matloob <matloob@golang.org>
Mon, 30 Dec 2019 22:51:16 +0000 (17:51 -0500)
committerMichael Matloob <matloob@golang.org>
Fri, 3 Jan 2020 17:08:02 +0000 (17:08 +0000)
commita7be8cccf80e04bb5c09e9f8c53d2eec4bc36d3a
treec49866dbb88d9395d068bded00a2d2721d62aac5
parent0bd3853512ea0dcb252ce02113d3929db03d6aa6
cmd/go: convert tests using testdata/src/syntaxerror to scripts

This includes TestMatchesNoTestsDoesNotOverrideBuildFailure
and TestErrorMessageForSyntaxErrorInTestGoFileSaysFAIL.
Convert the tests that use the testdata/src/syntaxerror directory
to the script framework.

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

Updates #36320
Updates #17751

Change-Id: I2b2b616e8c124996ae8c8e5b737f15bb493ec588
Reviewed-on: https://go-review.googlesource.com/c/go/+/212816
Run-TryBot: Michael Matloob <matloob@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Jay Conrod <jayconrod@google.com>
src/cmd/go/go_test.go
src/cmd/go/testdata/script/test_match_no_tests_build_failure.txt [new file with mode: 0644]
src/cmd/go/testdata/script/test_syntax_error_says_fail.txt [new file with mode: 0644]
src/cmd/go/testdata/src/syntaxerror/x.go [deleted file]
src/cmd/go/testdata/src/syntaxerror/x_test.go [deleted file]