diff options
author | Ian Lance Taylor <iant@google.com> | 2014-04-30 21:39:41 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2014-04-30 21:39:41 +0000 |
commit | d5d79d9be9a8f3c76a9aaf815ec0d3d1c7472dc7 (patch) | |
tree | 5ff1b96da816322af4a1ef92d0722743d451f71a /gcc/testsuite/go.test | |
parent | ba49cc990b373e98222af5bc7a9e6fe6e9fc5e84 (diff) | |
download | gcc-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.exp | 6 |
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 } |