From: Ian Lance Taylor Date: Thu, 9 Feb 2012 06:42:03 +0000 (+0000) Subject: go-test.exp (go-gc-tests): Don't run chan/select2.go on systems which don't support... X-Git-Tag: releases/gcc-4.7.0~492 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=cd6368115dbd75d9187877097c48a0d8d4c04fd4;p=thirdparty%2Fgcc.git go-test.exp (go-gc-tests): Don't run chan/select2.go on systems which don't support -fsplit-stack. * go.test/go-test.exp (go-gc-tests): Don't run chan/select2.go on systems which don't support -fsplit-stack. From-SVN: r184033 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index e51758706811..8bfbbdea670d 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,7 +1,12 @@ +2012-02-08 Ian Lance Taylor + + * 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 * 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 diff --git a/gcc/testsuite/go.test/go-test.exp b/gcc/testsuite/go.test/go-test.exp index d5f2f4e4797f..4c85c801d835 100644 --- a/gcc/testsuite/go.test/go-test.exp +++ b/gcc/testsuite/go.test/go-test.exp @@ -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