public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* Go testsuite patch committed: Skip nilptr.go if PIE
@ 2015-11-21  4:00 Ian Lance Taylor
  0 siblings, 0 replies; only message in thread
From: Ian Lance Taylor @ 2015-11-21  4:00 UTC (permalink / raw)
  To: gcc-patches, gofrontend-dev

[-- Attachment #1: Type: text/plain, Size: 316 bytes --]

This patch to the Go testsuite skips the nilptr.go test when the
default is to produce PIE.  This should fix GCC PR 66406.  Ran Go
testsuite on x86_64-pc-linux-gnu.  Committed to mainline.

Ian

2015-11-20  Ian Lance Taylor  <iant@google.com>

PR go/66406
* go.test/go-test.exp (go-gc-tests): Skip nilptr.go if PIE.

[-- Attachment #2: patch.txt --]
[-- Type: text/plain, Size: 458 bytes --]

Index: go.test/go-test.exp
===================================================================
--- go.test/go-test.exp	(revision 229630)
+++ go.test/go-test.exp	(working copy)
@@ -398,6 +398,11 @@ proc go-gc-tests { } {
 	    }
 	}
 
+	if [check_effective_target_pie_enabled] {
+	    untested $test
+	    continue
+	}
+
 	if { [file tail $test] == "init1.go" } {
 	    # This tests whether GC runs during init, which for gccgo
 	    # it currently does not.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-11-21  1:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-11-21  4:00 Go testsuite patch committed: Skip nilptr.go if PIE Ian Lance Taylor

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).