internal/testenv: support testing gccgo
commit4edd06160a02982d6726773828286969cb81fb3a
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 14 Jun 2017 13:47:28 +0000 (14 13:47 +0000)
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 14 Jun 2017 13:47:28 +0000 (14 13:47 +0000)
tree9fed014ef5dbc40f5099ade7ed858784fb31b09a
parent382819b34f2ee486e3b5a587f06de09e4f67f04c
internal/testenv: support testing gccgo

    If GO_TESTING_GOTOOLS is set in the environment, permit tests using
    gccgo to run the go tool. Like GO_BUILDER_NAME, this should not be set
    normally. But it is needed when testing the go tool itself, and will
    be set by the gotools Makefile in a future CL.

    Reviewed-on: https://go-review.googlesource.com/45693

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@249195 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/go/gofrontend/MERGE
libgo/go/internal/testenv/testenv.go