[gccgo] Fixes for gccgo RTEMS tests

Submitted by Ian Taylor on Aug. 1, 2010, 2:25 p.m.

Details

Message ID mcrd3u2jtq1.fsf@google.com
State New
Headers show

Commit Message

Ian Taylor Aug. 1, 2010, 2:25 p.m.
This patch from Vinu Rajashekhar updates the gccgo testsuite to indicate
that more tests now run on RTEMS, largely thanks to the implementation
of garbage collection.  Committed to gccgo branch.

Ian

Patch hide | download patch | download mbox

Index: gcc/testsuite/go.test/go-test.exp
===================================================================
--- gcc/testsuite/go.test/go-test.exp	(revision 162652)
+++ gcc/testsuite/go.test/go-test.exp	(working copy)
@@ -139,15 +139,11 @@ 
 		    continue
 	    }
 
-	    if { [string match "*go.test/test/sigchld.go" \
+	    if { [string match "*go.test/test/stack.go" \
 		   $test] \
-		 || [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] \
-		 || [string match "*go.test/test/chan/powser1.go" \
 		   $test] } {
 		    untested "$name: has very high memory requirement"
 		    continue
@@ -235,20 +231,6 @@ 
 		   || [string match \
 			   "// \$G \$D/\$F.go && \$L \$F.\$A && ./\$A.out >* || echo BUG*" \
 			   $test_line] } {
-	    # XFAIL certain tests for RTEMS OS.
-	    if [istarget "*-*-rtems*"] {
-		    if { [string match "*go.test/test/ken/chan.go" \
-				$test] \
-			 || [string match "*go.test/test/ken/modconst.go" \
-				$test] \
-			 || [string match "*go.test/test/ken/divconst.go" \
-				$test] \
-			 || [string match "*go.test/test/chan/powser2.go" \
-				$test] } {
-			go-execute-xfail $test
-			continue
-		    }
-	    }
 	    # This is a vanilla execution test.
 	    go-torture-execute $test
 	    file delete core [glob -nocomplain core.*]