mirror of git://gcc.gnu.org/git/gcc.git
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
This commit is contained in:
parent
94252f4bcc
commit
b23999aeeb
|
|
@ -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>
|
2012-02-08 Ian Lance Taylor <iant@google.com>
|
||||||
|
|
||||||
* go.test/go-test.exp (go-gc-tests): Don't run chan/select2.go on
|
* go.test/go-test.exp (go-gc-tests): Don't run chan/select2.go on
|
||||||
|
|
|
||||||
|
|
@ -330,8 +330,9 @@ proc go-gc-tests { } {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
if { [file tail $test] == "select2.go" && \
|
if { ( [file tail $test] == "select2.go" \
|
||||||
! [check_effective_target_split_stack] } {
|
|| [file tail $test] == "stack.go" ) \
|
||||||
|
&& ! [check_effective_target_split_stack] } {
|
||||||
# chan/select2.go fails on targets without split stack,
|
# chan/select2.go fails on targets without split stack,
|
||||||
# because they allocate a large stack segment that blows
|
# because they allocate a large stack segment that blows
|
||||||
# out the memory calculations.
|
# out the memory calculations.
|
||||||
|
|
@ -1018,10 +1019,12 @@ proc go-gc-tests { } {
|
||||||
} else {
|
} else {
|
||||||
pass "$name execution"
|
pass "$name execution"
|
||||||
file delete $base-out.x
|
file delete $base-out.x
|
||||||
# This testcase takes long time to compile.
|
# Disable optimizations as this test takes a long time
|
||||||
dg-timeout-factor list 4 { target alpha*-*-* }
|
# to compile.
|
||||||
|
set hold $TORTURE_OPTIONS
|
||||||
|
set TORTURE_OPTIONS [ list { -O0 -g }]
|
||||||
go-torture-execute "./$base-out.go"
|
go-torture-execute "./$base-out.go"
|
||||||
unset_timeout_vars
|
set TORTURE_OPTIONS $hold
|
||||||
}
|
}
|
||||||
file delete $base-out.go
|
file delete $base-out.go
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue