go-test.exp: add -I. when compiling in directory
authorIan Lance Taylor <iant@golang.org>
Thu, 3 Dec 2020 19:10:03 +0000 (11:10 -0800)
committerIan Lance Taylor <iant@golang.org>
Thu, 3 Dec 2020 19:11:28 +0000 (11:11 -0800)
commit2a099fd223f836e1d51c7f58e7261e18f483141c
tree4667aa837cd0e0e92f6b291a45fb5b20e798851a
parent5ea36d20c352a3ca436aa764404f6210b090866b
go-test.exp: add -I. when compiling in directory

* go.test/go-test.exp (go-gc-tests): Add -I. when building all
sources in a directory (errorcheckdir, compiledir, rundir,
rundircmpout).
gcc/testsuite/go.test/go-test.exp