diff options
Diffstat (limited to 'gcc/testsuite/go.test/go-test.exp')
-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 1bbbd8742e2..4400d405d06 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 } |