From d5d79d9be9a8f3c76a9aaf815ec0d3d1c7472dc7 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Wed, 30 Apr 2014 21:39:41 +0000 Subject: [PATCH] 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 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/go.test/go-test.exp | 6 ++++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 4627de41cfb..a927fddbbf6 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 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 }