From: ian Date: Sun, 12 Feb 2012 06:00:34 +0000 (+0000) Subject: PR go/51874 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9116c6038a9c15eae91de1dd8ddb75f22656cce5;p=thirdparty%2Fgcc.git PR go/51874 * go.test/go-test.exp (go-gc-tests): Don't run nilptr test on SPARC Solaris. Don't run the test at all on systems where it may not work, rather than xfailing it. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@184137 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 03fba5450ddf..938abdaaa61a 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,10 @@ +2012-02-11 Ian Lance Taylor + + PR go/51874 + * go.test/go-test.exp (go-gc-tests): Don't run nilptr test on + SPARC Solaris. Don't run the test at all on systems where it may + not work, rather than xfailing it. + 2012-02-11 Richard Sandiford PR rtl-optimization/52175 diff --git a/gcc/testsuite/go.test/go-test.exp b/gcc/testsuite/go.test/go-test.exp index 6f0cd389dac5..3e51b19f4248 100644 --- a/gcc/testsuite/go.test/go-test.exp +++ b/gcc/testsuite/go.test/go-test.exp @@ -302,9 +302,9 @@ proc go-gc-tests { } { } # Handle certain tests in a target-dependant way. - if [istarget "alpha*-*-*"] { + if { [istarget "alpha*-*-*"] || [istarget "sparc*-*-solaris*"] } { if { [string match "*go.test/test/nilptr.go" $test] } { - go-execute-xfail $test + untested $test continue } }