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
This commit is contained in:
Ian Lance Taylor 2014-04-30 21:39:41 +00:00 committed by Ian Lance Taylor
parent ba49cc990b
commit d5d79d9be9
2 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2014-04-30 Ian Lance Taylor <iant@google.com>
* 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.
2014-04-30 Soundararajan Dhakshinamoorthy <sounderarajan.d@atmel.com>
* gcc.c-torture/execute/pr58419.c: Use dummy no-inline function

View File

@ -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
}