re PR go/89168 (FAIL: cmd/go/internal/load)
authorIan Lance Taylor <ian@gcc.gnu.org>
Fri, 15 Feb 2019 00:36:50 +0000 (00:36 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Fri, 15 Feb 2019 00:36:50 +0000 (00:36 +0000)
commitc8530c410972f09b88bb143e5e5a4910bd72b2ee
tree93d9f78cf295af4117b6d17f89039e06a631b118
parentb90fff0cc04c63d7cf23d689dbf1bc91f799de2c
re PR go/89168 (FAIL: cmd/go/internal/load)

PR go/89168
    libgo: change gotest to run examples with output

    Change the gotest script to act like "go test" and run examples that
    have "output" comments.  This is not done with full generality, but
    just enough to run the libgo tests.  Other packages should be tested
    with "go test" as usual.

    While we're here clean up some old bits of gotest, and only run
    TestXXX functions that are actually in *_test.go files.  The latter
    change should fix https://gcc.gnu.org/PR89168.

    Reviewed-on: https://go-review.googlesource.com/c/162139

From-SVN: r268922
gcc/go/gofrontend/MERGE
libgo/go/runtime/example_test.go
libgo/testsuite/gotest