]> git.ipfire.org Git - thirdparty/gcc.git/commit
cmd/go: pass down testing gccgo in TestScript
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 25 Sep 2018 14:16:32 +0000 (14:16 +0000)
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 25 Sep 2018 14:16:32 +0000 (14:16 +0000)
commit064f53e7e707c7af78d1bb4c42ca9073231f80ad
tree872f530a1669ad0f37d72c8b952ee5fe88d9e334
parenta50c524245f632a0286a1201a55ef0307122c8c0
cmd/go: pass down testing gccgo in TestScript

    This permits TestScript to work when gccgo is not installed.
    Previous testing was using a previously installed gccgo, not the newly
    built one.

    This revealed that the testing of whether an internal package is
    permitted was incorrect for standard library packages, since the
    uninstalled gccgo can see internal packages in the uninstalled libgo.
    Fix the internal package tests.

    This permitted removing a couple of gccgo-specific changes in the
    testsuite.

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@264570 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/go/gofrontend/MERGE
libgo/go/cmd/go/internal/load/pkg.go
libgo/go/cmd/go/script_test.go
libgo/go/cmd/go/testdata/script/mod_internal.txt