OSDN Git Service

* go.test/go-test.exp (go-gc-tests): Don't run chan/select2.go on
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 9 Feb 2012 06:42:03 +0000 (06:42 +0000)
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 9 Feb 2012 06:42:03 +0000 (06:42 +0000)
systems which don't support -fsplit-stack.

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

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

index e517587..8bfbbde 100644 (file)
@@ -1,7 +1,12 @@
+2012-02-08  Ian Lance Taylor  <iant@google.com>
+
+       * go.test/go-test.exp (go-gc-tests): Don't run chan/select2.go on
+       systems which don't support -fsplit-stack.
+
 2012-02-08  Andrew MacLeod  <amacleod@redhat.com>
 
        * gcc.dg/simulate-thread/simulate-thread.exp: Use -O0, -O2, and -O3.
-       * gcc.dg/simulate-thread/simulate-thread.gdb: Don't display every 
+       * gcc.dg/simulate-thread/simulate-thread.gdb: Don't display every
        machine instuction in the log.
 
 2012-02-08  Jack Howarth <howarth@bromo.med.uc.edu>
index d5f2f4e..4c85c80 100644 (file)
@@ -33,6 +33,7 @@
 
 load_lib go-dg.exp
 load_lib go-torture.exp
+load_lib target-supports.exp
 
 # Compare two files
 proc filecmp { file1 file2 testname } {
@@ -329,6 +330,15 @@ proc go-gc-tests { } {
            continue
        }
 
+       if { [file tail $test] == "select2.go" && \
+                ! [check_effective_target_split_stack] } {
+           # chan/select2.go fails on targets without split stack,
+           # because they allocate a large stack segment that blows
+           # out the memory calculations.
+           untested $name
+           continue
+       }
+
        set fd [open $test r]
 
        set lines_ok 1