From: Uros Bizjak Date: Thu, 9 Jan 2014 17:14:03 +0000 (+0100) Subject: go-test.exp (go-gc-tests): Don't run peano.go on systems which don't support -fsplit... X-Git-Tag: releases/gcc-4.9.0~1755 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4e520eb4dc46717e353cdf541fa1202c92b3b18e;p=thirdparty%2Fgcc.git go-test.exp (go-gc-tests): Don't run peano.go on systems which don't support -fsplit-stack. * go.test/go-test.exp (go-gc-tests): Don't run peano.go on systems which don't support -fsplit-stack. Skip rotate[0123].go tests. From-SVN: r206470 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 30e02eda67b7..0b15ca1a0729 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2014-01-09 Uros Bizjak + + * go.test/go-test.exp (go-gc-tests): Don't run peano.go on systems + which don't support -fsplit-stack. Skip rotate[0123].go tests. + 2014-01-09 Balaji V. Iyer PR testsuite/59524 diff --git a/gcc/testsuite/go.test/go-test.exp b/gcc/testsuite/go.test/go-test.exp index 0f95edc182d3..3bcd71bc1b6f 100644 --- a/gcc/testsuite/go.test/go-test.exp +++ b/gcc/testsuite/go.test/go-test.exp @@ -400,17 +400,16 @@ proc go-gc-tests { } { } if { ( [file tail $test] == "select2.go" \ - || [file tail $test] == "stack.go" ) \ + || [file tail $test] == "stack.go" \ + || [file tail $test] == "peano.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. + # These tests fails on targets without split stack. untested $name continue } - if { [file tail $test] == "rotate.go" } { - # This test produces a temporary file that takes too long + if [string match "*go.test/test/rotate\[0123\].go" $test] { + # These tests produces a temporary file that takes too long # to compile--5 minutes on my laptop without optimization. # When compiling without optimization it tests nothing # useful, since the point of the test is to see whether