diff mbox

wide-int testing, go bits

Message ID CAKOQZ8xJyNv_oes3dec78uzwQFmrs-HPic8uphAC8bFCS0xFag@mail.gmail.com
State New
Headers show

Commit Message

Ian Lance Taylor April 30, 2014, 9:40 p.m. UTC
On Wed, Apr 30, 2014 at 1:31 PM, Mike Stump <mikestump@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  <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.
diff mbox

Patch

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
 		}