-
Notifications
You must be signed in to change notification settings - Fork 17.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
go/internal/gcimporter,cmd/compile/internal/importer: use testenv.Mus…
…tHaveGoBuild 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 <[email protected]> TryBot-Result: Gopher Robot <[email protected]> Reviewed-by: David Chase <[email protected]> Run-TryBot: Bryan Mills <[email protected]>
- Loading branch information
Showing
2 changed files
with
28 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters