diff options
author | Ian Lance Taylor <iant@google.com> | 2012-02-09 08:25:34 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2012-02-09 08:25:34 +0000 |
commit | b23999aeebda5cf64412f6ccb15ffc95bc489200 (patch) | |
tree | 2e4900c5857aa3c22bb2c5a3cba81cf8c8551614 /gcc | |
parent | 94252f4bcc0a3f487b804ce535cb77b8bef4db83 (diff) | |
download | gcc-b23999aeebda5cf64412f6ccb15ffc95bc489200.zip gcc-b23999aeebda5cf64412f6ccb15ffc95bc489200.tar.gz gcc-b23999aeebda5cf64412f6ccb15ffc95bc489200.tar.bz2 |
go-test.exp (go-gc-tests): Don't run stack.go on systems which don't support -fsplit-stack.
* go.test/go-test.exp (go-gc-tests): Don't run stack.go on systems
which don't support -fsplit-stack. Turn off optimization when
compiling select5-out.go.
From-SVN: r184035
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/testsuite/go.test/go-test.exp | 13 |
2 files changed, 14 insertions, 5 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 8bfbbde..66a7e41 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2012-02-09 Ian Lance Taylor <iant@google.com> + + * go.test/go-test.exp (go-gc-tests): Don't run stack.go on systems + which don't support -fsplit-stack. Turn off optimization when + compiling select5-out.go. + 2012-02-08 Ian Lance Taylor <iant@google.com> * go.test/go-test.exp (go-gc-tests): Don't run chan/select2.go on diff --git a/gcc/testsuite/go.test/go-test.exp b/gcc/testsuite/go.test/go-test.exp index 4c85c80..6f0cd38 100644 --- a/gcc/testsuite/go.test/go-test.exp +++ b/gcc/testsuite/go.test/go-test.exp @@ -330,8 +330,9 @@ proc go-gc-tests { } { continue } - if { [file tail $test] == "select2.go" && \ - ! [check_effective_target_split_stack] } { + if { ( [file tail $test] == "select2.go" \ + || [file tail $test] == "stack.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. @@ -1018,10 +1019,12 @@ proc go-gc-tests { } { } else { pass "$name execution" file delete $base-out.x - # This testcase takes long time to compile. - dg-timeout-factor list 4 { target alpha*-*-* } + # Disable optimizations as this test takes a long time + # to compile. + set hold $TORTURE_OPTIONS + set TORTURE_OPTIONS [ list { -O0 -g }] go-torture-execute "./$base-out.go" - unset_timeout_vars + set TORTURE_OPTIONS $hold } file delete $base-out.go } |