From: Ian Lance Taylor Date: Tue, 20 Nov 2012 05:56:24 +0000 (-0800) Subject: exp/types: don't test importing types if using gccgo X-Git-Tag: go1.1rc2~1831 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=4bf261f9e31cd8394df0c24ad4fffbdda3414ba2;p=gostls13.git 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 --- 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 {