aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/exp
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@golang.org>2012-11-19 21:56:24 -0800
committerIan Lance Taylor <iant@golang.org>2012-11-19 21:56:24 -0800
commit4bf261f9e31cd8394df0c24ad4fffbdda3414ba2 (patch)
tree190577fc570be636fce60c40ea2ce36902cdfb0a /src/pkg/exp
parent54b9c2015194b68135098c4eae564a122a4bccf6 (diff)
downloadgo-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.go4
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 {