From fe2443f7b95069e01d0b02159564c1b4d0dfcb5e Mon Sep 17 00:00:00 2001 From: Than McIntosh Date: Thu, 13 Dec 2018 08:40:11 -0500 Subject: [PATCH] go/internal/gccgoimporter: test fix for older gccgo versions Import test fix https://golang.org/cl/153831 from std lib version (skips issue29198.go test for older versions of gccgo). Updates golang/go#29198. Change-Id: Iddd903068a73a307b1d19d93a7c03b1d00365022 Reviewed-on: https://go-review.googlesource.com/c/153870 Run-TryBot: Than McIntosh TryBot-Result: Gobot Gobot Reviewed-by: Ian Lance Taylor --- go/internal/gccgoimporter/importer_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go/internal/gccgoimporter/importer_test.go b/go/internal/gccgoimporter/importer_test.go index c05694aead2..73aa9d158ba 100644 --- a/go/internal/gccgoimporter/importer_test.go +++ b/go/internal/gccgoimporter/importer_test.go @@ -162,7 +162,7 @@ func TestObjImporter(t *testing.T) { for _, test := range importerTests { // Support for type aliases was added in GCC 7. - if test.pkgpath == "aliases" || test.pkgpath == "issue27856" { + if test.pkgpath == "aliases" || test.pkgpath == "issue27856" || test.pkgpath == "issue29198" { if major < 7 { t.Logf("skipping %q: not supported before gccgo version 7", test.pkgpath) continue