On Wed, Apr 30, 2014 at 1:31 PM, Mike Stump <mikest...@comcast.net> wrote:
>
> I am seeing the below on wide-int.  The go teststsuite violates one of the 
> principals of goo test suite hygiene, the names thought arbitrary, should be 
> stable.  These names are not stable across differing build locations.  
> s,.*/testsuite/,,g is approximately what it needs.  Thanks.


Fixed like so.  Tested on x86_64-unknown-linux-gnu.  Committed to
mainline.

Ian


2014-04-30  Ian Lance Taylor  <i...@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.
Index: go.test/go-test.exp
===================================================================
--- go.test/go-test.exp	(revision 209392)
+++ go.test/go-test.exp	(working copy)
@@ -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
 		}

Reply via email to