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 <thanm@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
This commit is contained in:
parent
bbccd8cae4
commit
fe2443f7b9
|
@ -162,7 +162,7 @@ func TestObjImporter(t *testing.T) {
|
||||||
|
|
||||||
for _, test := range importerTests {
|
for _, test := range importerTests {
|
||||||
// Support for type aliases was added in GCC 7.
|
// 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 {
|
if major < 7 {
|
||||||
t.Logf("skipping %q: not supported before gccgo version 7", test.pkgpath)
|
t.Logf("skipping %q: not supported before gccgo version 7", test.pkgpath)
|
||||||
continue
|
continue
|
||||||
|
|
Loading…
Reference in New Issue