diff options
author | Ian Lance Taylor <ian@gcc.gnu.org> | 2012-02-09 06:42:03 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2012-02-09 06:42:03 +0000 |
commit | cd6368115dbd75d9187877097c48a0d8d4c04fd4 (patch) | |
tree | 21cdbd9102e795ba359505bc1647cb0582e35397 | |
parent | e97e73c54671d56b3481d09d8e68d13f09af5658 (diff) | |
download | gcc-cd6368115dbd75d9187877097c48a0d8d4c04fd4.zip gcc-cd6368115dbd75d9187877097c48a0d8d4c04fd4.tar.gz gcc-cd6368115dbd75d9187877097c48a0d8d4c04fd4.tar.bz2 |
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
-rw-r--r-- | gcc/testsuite/ChangeLog | 7 | ||||
-rw-r--r-- | gcc/testsuite/go.test/go-test.exp | 10 |
2 files changed, 16 insertions, 1 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index e517587..8bfbbde 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -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> diff --git a/gcc/testsuite/go.test/go-test.exp b/gcc/testsuite/go.test/go-test.exp index d5f2f4e..4c85c80 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 |