]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
go-test.exp (go-gc-tests): For rundir...
authorIan Lance Taylor <iant@google.com>
Wed, 30 Apr 2014 21:39:41 +0000 (21:39 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Wed, 30 Apr 2014 21:39:41 +0000 (21:39 +0000)
* 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

gcc/testsuite/ChangeLog
gcc/testsuite/go.test/go-test.exp

index 4627de41cfbe92903a2791e5e215d0ad125656de..a927fddbbf69cd11c4f7e17771d2b4ff555977f5 100644 (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
index 1bbbd8742e23566ebc9fdfdd6c03af21034e0646..4400d405d0606d62c39c97bcfcf424ebddc176b2 100644 (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
                }