This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: wide-int testing, go bits
- From: Ian Lance Taylor <iant at google dot com>
- To: Mike Stump <mikestump at comcast dot net>
- Cc: "gofrontend-dev at googlegroups dot com" <gofrontend-dev at googlegroups dot com>, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 30 Apr 2014 17:40:35 -0400
- Subject: Re: wide-int testing, go bits
- Authentication-results: sourceware.org; auth=none
- References: <9BA24CAA-2E50-4EEB-BFCB-FB3F41083C15 at comcast dot net>
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.
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
}