OSDN Git Service

PR go/51874
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 12 Feb 2012 06:00:34 +0000 (06:00 +0000)
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 12 Feb 2012 06:00:34 +0000 (06:00 +0000)
* 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

gcc/testsuite/ChangeLog
gcc/testsuite/go.test/go-test.exp

index 03fba54..938abda 100644 (file)
@@ -1,3 +1,10 @@
+2012-02-11  Ian Lance Taylor  <iant@google.com>
+
+       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  <rdsandiford@googlemail.com>
 
        PR rtl-optimization/52175
 2012-02-11  Richard Sandiford  <rdsandiford@googlemail.com>
 
        PR rtl-optimization/52175
index 6f0cd38..3e51b19 100644 (file)
@@ -302,9 +302,9 @@ proc go-gc-tests { } {
        }
 
        # Handle certain tests in a target-dependant way.
        }
 
        # 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] } {
            if { [string match "*go.test/test/nilptr.go" $test] } {
-               go-execute-xfail $test
+               untested $test
                continue
            }
        }
                continue
            }
        }