From: Ian Lance Taylor Date: Wed, 30 Apr 2014 21:39:41 +0000 (+0000) Subject: go-test.exp (go-gc-tests): For rundir... X-Git-Tag: releases/gcc-5.1.0~7834 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d5d79d9be9a8f3c76a9aaf815ec0d3d1c7472dc7;p=thirdparty%2Fgcc.git 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 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 4627de41cfbe..a927fddbbf69 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2014-04-30 Ian Lance Taylor + + * 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 * gcc.c-torture/execute/pr58419.c: Use dummy no-inline function diff --git a/gcc/testsuite/go.test/go-test.exp b/gcc/testsuite/go.test/go-test.exp index 1bbbd8742e23..4400d405d060 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 }