]> Cypherpunks repositories - gostls13.git/commit
cmd/go: replace TestCgoDependsOnSyscall with a simpler script test
authorBryan C. Mills <bcmills@google.com>
Tue, 17 Mar 2020 14:50:40 +0000 (10:50 -0400)
committerBryan C. Mills <bcmills@google.com>
Tue, 17 Mar 2020 17:10:51 +0000 (17:10 +0000)
commit14d20dc4f38dda548f6991cc687bc71b250b1603
treeeb0bf8e5662c05591976745f579d3c55430bbcd4
parentfb1cd942225f66a6a8506d28bf317063efe50979
cmd/go: replace TestCgoDependsOnSyscall with a simpler script test

The existing test attempted to remove '_race' binaries from
GOROOT/pkg, which could not only fail if GOROOT is read-only, but also
interfere with other tests run in parallel.

Updates #30316
Updates #37573
Updates #17751

Change-Id: Id7e2286ab67f8333baf4d52244b7f4476aa93a46
Reviewed-on: https://go-review.googlesource.com/c/go/+/223745
Run-TryBot: Bryan C. Mills <bcmills@google.com>
Reviewed-by: Jay Conrod <jayconrod@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/cmd/go/go_test.go
src/cmd/go/testdata/script/cgo_depends_on_syscall.txt [new file with mode: 0644]