aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/testdata/testwinlibthrow/main.go
diff options
context:
space:
mode:
authorBryan C. Mills <bcmills@google.com>2022-10-19 14:09:54 -0400
committerGopher Robot <gobot@golang.org>2022-10-19 19:25:56 +0000
commit4a164a44de3c67da878403504d948dfbd4fc6f7d (patch)
tree98e7d2374441baf23ec5b11d88fd5454efc8152c /src/runtime/testdata/testwinlibthrow/main.go
parent6b22572e700235fb7303c7fd6aefcc33c743a130 (diff)
downloadgo-4a164a44de3c67da878403504d948dfbd4fc6f7d.tar.xz
go/internal/gcimporter,cmd/compile/internal/importer: use testenv.MustHaveGoBuild directly
These tests previously had a “skipSpecialPlatforms” function, added in CL 8611 to skip tests on (apparently) NaCL and iOS. The iOS builders no longer match the condition (GOOS=ios is its own thing now), and the NaCL port no longer exists. The name of the function also isn't very evocative, since it doesn't say what is “special” about the platforms to cause them to be skipped.m Since the check is intending to run the tests only on platforms where gc export data is available, and to a first approximation “gc export data is available” on exactly the platforms that can run “go build” to produce that export data, we can use the testenv function instead of a one-off. Updates #38485. Change-Id: I8f38b9604300d165147f8942e945ab762419fad7 Reviewed-on: https://go-review.googlesource.com/c/go/+/444155 Auto-Submit: Bryan Mills <bcmills@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: David Chase <drchase@google.com> Run-TryBot: Bryan Mills <bcmills@google.com>
Diffstat (limited to 'src/runtime/testdata/testwinlibthrow/main.go')
0 files changed, 0 insertions, 0 deletions