diff options
| author | Ian Lance Taylor <iant@golang.org> | 2012-11-19 21:56:24 -0800 |
|---|---|---|
| committer | Ian Lance Taylor <iant@golang.org> | 2012-11-19 21:56:24 -0800 |
| commit | 4bf261f9e31cd8394df0c24ad4fffbdda3414ba2 (patch) | |
| tree | 190577fc570be636fce60c40ea2ce36902cdfb0a /src/pkg/exp | |
| parent | 54b9c2015194b68135098c4eae564a122a4bccf6 (diff) | |
| download | go-4bf261f9e31cd8394df0c24ad4fffbdda3414ba2.tar.xz | |
exp/types: don't test importing types if using gccgo
The exp/types packages does not support the gccgo export data
format. At some point it should, but not yet.
R=gri, bradfitz, r, iant, dsymonds
CC=golang-dev
https://golang.org/cl/6854068
Diffstat (limited to 'src/pkg/exp')
| -rw-r--r-- | src/pkg/exp/types/gcimporter_test.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/pkg/exp/types/gcimporter_test.go b/src/pkg/exp/types/gcimporter_test.go index d6795fae70..d1cf605fe9 100644 --- a/src/pkg/exp/types/gcimporter_test.go +++ b/src/pkg/exp/types/gcimporter_test.go @@ -127,6 +127,10 @@ var importedObjectTests = []struct { } func TestGcImportedTypes(t *testing.T) { + // This package does not yet know how to read gccgo export data. + if runtime.Compiler == "gccgo" { + return + } for _, test := range importedObjectTests { s := strings.Split(test.name, ".") if len(s) != 2 { |
