diff mbox

Go testsuite patch committed: Skip nilptr2.go on targets without split stack

Message ID CAOyqgcUB9NypYAeo3b9bJ4ec0tP=V=cvBpEj+9OWC7y-uLM5dQ@mail.gmail.com
State New
Headers show

Commit Message

Ian Lance Taylor Jan. 23, 2015, 11:52 p.m. UTC
PR 64510 points out that the nilptr2.go test fails on targets that do
not support split stacks, because it passes a huge structure on the
stack.  This patch avoids running the test on those targets.
Bootstrapped and ran Go testsuite on x86_64-unknown-linux-gnu (where
the test is not skipped, but at least there are no Tcl syntax errors).
Committed to mainline.

Ian


2015-01-23  Ian Lance Taylor  <iant@google.com>

PR go/64510
* go.test/go-test.exp (go-gc-tests): Skip nilptr2.go test on
targets without split stack support.
diff mbox

Patch

Index: go-test.exp
===================================================================
--- go-test.exp	(revision 219700)
+++ go-test.exp	(working copy)
@@ -414,7 +414,8 @@  proc go-gc-tests { } {
 
 	if { ( [file tail $test] == "select2.go" \
 		   || [file tail $test] == "stack.go" \
-		   || [file tail $test] == "peano.go" ) \
+		   || [file tail $test] == "peano.go" \
+		   || [file tail $test] == "nilptr2.go" ) \
 		 && ! [check_effective_target_split_stack] } {
 	    # These tests fails on targets without split stack.
 	    untested $name