diff options
author | Robert Griesemer <gri@golang.org> | 2015-06-17 15:35:15 -0700 |
---|---|---|
committer | Robert Griesemer <gri@golang.org> | 2015-06-17 23:24:35 +0000 |
commit | 8fa1a69f0ba3d149f0697a1d3fd815d5f853485b (patch) | |
tree | d44e7538a281d746ea9206d4c43cd875d18223bc /src/go/types/check_test.go | |
parent | bc7a3a62cff96c14dc7d97d03a410151fe4ba807 (diff) | |
download | go-8fa1a69f0ba3d149f0697a1d3fd815d5f853485b.tar.gz go-8fa1a69f0ba3d149f0697a1d3fd815d5f853485b.zip |
go/types: use testenv.MustHaveGoBuild to exclude some builds
Replace custom solution with new (internal) library call.
Change-Id: I53b26a1caf0684b9f5d8d749b10d9f3ba18a3001
Reviewed-on: https://go-review.googlesource.com/11193
Reviewed-by: Damien Neil <dneil@google.com>
Diffstat (limited to 'src/go/types/check_test.go')
-rw-r--r-- | src/go/types/check_test.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/go/types/check_test.go b/src/go/types/check_test.go index 25843927d0..5e34c65b63 100644 --- a/src/go/types/check_test.go +++ b/src/go/types/check_test.go @@ -32,6 +32,7 @@ import ( "go/parser" "go/scanner" "go/token" + "internal/testenv" "io/ioutil" "regexp" "strings" @@ -279,7 +280,7 @@ func checkFiles(t *testing.T, testfiles []string) { } func TestCheck(t *testing.T) { - skipSpecialPlatforms(t) + testenv.MustHaveGoBuild(t) // Declare builtins for testing. DefPredeclaredTestFuncs() |