]> Cypherpunks repositories - gostls13.git/commit
go/internal/gccgoimporter: skip new test with aliases with old gccgo
authorThan McIntosh <thanm@google.com>
Wed, 1 May 2019 14:40:30 +0000 (10:40 -0400)
committerThan McIntosh <thanm@google.com>
Wed, 1 May 2019 14:59:51 +0000 (14:59 +0000)
commitab5cee538ae30cab8cc7ecc97f51a051d767dcb0
treebe3d6c4a9a782331ef7e8f194426653cbbd5a052
parent40036a99a07ee89f59864c42af056bb5e33e696e
go/internal/gccgoimporter: skip new test with aliases with old gccgo

Add the issue31540 test to the list of tests that needs to be skipped
with old copies of gccgo. Along the way, add an explicit field to the
importer test struct that can be used to tag the test (as opposed to
having special cases by name in the test routine), so as to make it
easier to remember to tag testcases correctly.

Fixes #31764.

Change-Id: Ib9d98fea2df8ce0b51e5a886fb2c4acd6db490ff
Reviewed-on: https://go-review.googlesource.com/c/go/+/174738
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/go/internal/gccgoimporter/importer_test.go