]> git.feebdaed.xyz Git - 0xmirror/go.git/commit
cmd/go: convert some more tests to script tests
authormatloob <matloob@golang.org>
Fri, 5 Dec 2025 20:25:42 +0000 (15:25 -0500)
committerMichael Matloob <matloob@google.com>
Fri, 5 Dec 2025 23:17:12 +0000 (15:17 -0800)
commit2e509e61eff60aa0eced53fbdea4da1bff9ef150
treee3296e636b9429889eec288a299384d0d01909a5
parentc270e7183582600aa54dcc8bb14aeecf61fc4275
cmd/go: convert some more tests to script tests

Convert more tests to script tests so they can run in parallel with the
rest of the script tests. This CL converts
TestPackageMainTestCompilerFlags, TestGoListTest,
TestListTemplateContextFunction, and TestIssue22588.

Change-Id: I4f8410e85d4811e82d85d884d28a2a0d6a6a6964
Reviewed-on: https://go-review.googlesource.com/c/go/+/727420
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Michael Matloob <matloob@google.com>
Reviewed-by: Alan Donovan <adonovan@google.com>
src/cmd/go/go_test.go
src/cmd/go/testdata/script/list_template_context_function.txt [new file with mode: 0644]
src/cmd/go/testdata/script/list_test.txt [new file with mode: 0644]
src/cmd/go/testdata/script/list_toolexec_stderr_issue22588.txt [new file with mode: 0644]
src/cmd/go/testdata/script/test_main_compiler_flags.txt [new file with mode: 0644]