aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/go.test
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@google.com>2014-04-30 21:39:41 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2014-04-30 21:39:41 +0000
commitd5d79d9be9a8f3c76a9aaf815ec0d3d1c7472dc7 (patch)
tree5ff1b96da816322af4a1ef92d0722743d451f71a /gcc/testsuite/go.test
parentba49cc990b373e98222af5bc7a9e6fe6e9fc5e84 (diff)
downloadgcc-d5d79d9be9a8f3c76a9aaf815ec0d3d1c7472dc7.zip
gcc-d5d79d9be9a8f3c76a9aaf815ec0d3d1c7472dc7.tar.gz
gcc-d5d79d9be9a8f3c76a9aaf815ec0d3d1c7472dc7.tar.bz2
go-test.exp (go-gc-tests): For rundir...
* go.test/go-test.exp (go-gc-tests): For rundir, pass extra files in go_compile_args rather than in argument to go-torture-execute. From-SVN: r209959
Diffstat (limited to 'gcc/testsuite/go.test')
-rw-r--r--gcc/testsuite/go.test/go-test.exp6
1 files changed, 4 insertions, 2 deletions
diff --git a/gcc/testsuite/go.test/go-test.exp b/gcc/testsuite/go.test/go-test.exp
index 1bbbd87..4400d40 100644
--- a/gcc/testsuite/go.test/go-test.exp
+++ b/gcc/testsuite/go.test/go-test.exp
@@ -676,8 +676,10 @@ proc go-gc-tests { } {
lappend del "[file rootname [file tail [lindex $p 1]]].o"
}
set dg-do-what-default "link"
- set go_compile_args $del
- go-torture-execute [lrange $last 1 end]
+ set go_compile_args ""
+ append go_compile_args [lrange $last 2 end]
+ append go_compile_args $del
+ go-torture-execute [lindex $last 1]
foreach f $del {
file delete $f
}