]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
go-test.exp (go-gc-tests): Don't run peano.go on systems which don't support -fsplit...
authorUros Bizjak <ubizjak@gmail.com>
Thu, 9 Jan 2014 17:14:03 +0000 (18:14 +0100)
committerUros Bizjak <uros@gcc.gnu.org>
Thu, 9 Jan 2014 17:14:03 +0000 (18:14 +0100)
* 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

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

index 30e02eda67b7501532cab79ce4e980e908513f0a..0b15ca1a0729f87847f7723d8e4a48dcdccf3e95 100644 (file)
@@ -1,3 +1,8 @@
+2014-01-09  Uros Bizjak  <ubizjak@gmail.com>
+
+       * 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  <balaji.v.iyer@intel.com>
 
        PR testsuite/59524
index 0f95edc182d3d2f5d333bc1190bcbe048d0edd52..3bcd71bc1b6f125d76d95b83e65ee56adf3e8c8f 100644 (file)
@@ -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