]> Cypherpunks repositories - gostls13.git/commit
go/types: automatically ignore $GOROOT/test files that contain build tags
authorRobert Griesemer <gri@golang.org>
Wed, 24 Oct 2018 21:43:52 +0000 (14:43 -0700)
committerRobert Griesemer <gri@golang.org>
Fri, 26 Oct 2018 17:06:15 +0000 (17:06 +0000)
commiteecb5fd10e519e7ed498bf652d2289047369f7b0
tree42e606922812812c1581036dd6b2d330f4cd9bcf
parentb0321a604315d272f2f0d26d771ff7ceddfdbdec
go/types: automatically ignore $GOROOT/test files that contain build tags

These files were already ignored via a hard-coded list of excluded files.
Instead of trying to interpret the build tags for these (few) files,
recognize the tags automatically and continue to exclude them.

Fixes #10370.

Change-Id: If7a112ede02e3fa90afe303473d9ea51c5c6609d
Reviewed-on: https://go-review.googlesource.com/c/144457
Reviewed-by: Alan Donovan <adonovan@google.com>
src/go/types/stdlib_test.go