OSDN Git Service

* go.test/go-test.exp (go-gc-tests): xfail test/nilptr.go runtime
authoruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 1 Feb 2012 19:32:42 +0000 (19:32 +0000)
committeruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 1 Feb 2012 19:32:42 +0000 (19:32 +0000)
test on alpha*-*-*.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183811 138bc75d-0d04-0410-961f-82ee72b054a4

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

index 9e655c8..6cf8868 100644 (file)
@@ -1,3 +1,8 @@
+2012-02-01  Uros Bizjak  <ubizjak@gmail.com>
+
+       * go.test/go-test.exp (go-gc-tests): xfail test/nilptr.go runtime
+       test on alpha*-*-*.
+
 2012-02-01  Tobias Burnus  <burnus@net-b.de>
 
        PR fortran/52024
index c738372..d5f2f4e 100644 (file)
@@ -286,25 +286,28 @@ proc go-gc-tests { } {
 
        # Skip certain tests if target is RTEMS OS.
        if [istarget "*-*-rtems*"] {
-           if { [string match "*go.test/test/args.go" \
-                  $test] \
-                || [string match "*go.test/test/env.go" \
-                  $test] } {
+           if { [string match "*go.test/test/args.go" $test] \
+                || [string match "*go.test/test/env.go" $test] } {
                    untested "$name: uses the command-line or environment variables"
                    continue
            }
 
-           if { [string match "*go.test/test/stack.go" \
-                  $test] \
-                || [string match "*go.test/test/peano.go" \
-                  $test] \
-                || [string match "*go.test/test/chan/goroutines.go" \
-                  $test] } {
+           if { [string match "*go.test/test/stack.go" $test] \
+                || [string match "*go.test/test/peano.go" $test] \
+                || [string match "*go.test/test/chan/goroutines.go" $test] } {
                    untested "$name: has very high memory requirement"
                    continue
            }
        }
 
+       # Handle certain tests in a target-dependant way.
+       if [istarget "alpha*-*-*"] {
+           if { [string match "*go.test/test/nilptr.go" $test] } {
+               go-execute-xfail $test
+               continue
+           }
+       }
+
        if { [string match "*bug347*" $test] \
                 || [string match "*bug348*" $test] } {
            # These bugs rely on runtime.Caller which currently fails.