internal/testenv: support testing gccgo
authorIan Lance Taylor <ian@gcc.gnu.org>
Wed, 14 Jun 2017 13:47:28 +0000 (13:47 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Wed, 14 Jun 2017 13:47:28 +0000 (13:47 +0000)
commit0818233f800920bf4d5c384718b6fb328bba81fe
tree9fed014ef5dbc40f5099ade7ed858784fb31b09a
parent6916d6104ff448f07130597473356334c3d73501
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

From-SVN: r249195
gcc/go/gofrontend/MERGE
libgo/go/internal/testenv/testenv.go