mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 14:55:26 +00:00
test: Enable all morestack tests
This commit is contained in:
parent
f4acaf6934
commit
22ac628e8c
@ -1,5 +1,3 @@
|
|||||||
// xfail-test
|
|
||||||
// compile-flags:--stack-growth
|
|
||||||
// error-pattern:explicit failure
|
// error-pattern:explicit failure
|
||||||
fn getbig(i: int) {
|
fn getbig(i: int) {
|
||||||
if i != 0 {
|
if i != 0 {
|
||||||
|
@ -1,6 +1,4 @@
|
|||||||
// xfail-test
|
|
||||||
// error-pattern:explicit failure
|
// error-pattern:explicit failure
|
||||||
// compile-flags:--stack-growth
|
|
||||||
|
|
||||||
// This time we're testing that the stack limits are restored
|
// This time we're testing that the stack limits are restored
|
||||||
// correctly after calling into the C stack and unwinding.
|
// correctly after calling into the C stack and unwinding.
|
||||||
|
@ -1,6 +1,4 @@
|
|||||||
// xfail-test
|
|
||||||
// error-pattern:explicit failure
|
// error-pattern:explicit failure
|
||||||
// compile-flags:--stack-growth
|
|
||||||
|
|
||||||
// Just testing unwinding
|
// Just testing unwinding
|
||||||
|
|
||||||
|
@ -1,6 +1,4 @@
|
|||||||
// xfail-test
|
|
||||||
// error-pattern:explicit failure
|
// error-pattern:explicit failure
|
||||||
// compile-flags:--stack-growth
|
|
||||||
|
|
||||||
// Just testing unwinding
|
// Just testing unwinding
|
||||||
|
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
// xfail-test
|
|
||||||
// compile-flags:--stack-growth
|
|
||||||
fn getbig(i: int) {
|
fn getbig(i: int) {
|
||||||
if i != 0 {
|
if i != 0 {
|
||||||
getbig(i - 1);
|
getbig(i - 1);
|
||||||
@ -7,5 +5,5 @@ fn getbig(i: int) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
getbig(10000000);
|
getbig(100000);
|
||||||
}
|
}
|
@ -1,5 +1,3 @@
|
|||||||
// xfail-test
|
|
||||||
// compile-flags:--stack-growth
|
|
||||||
fn getbig(i: int) -> int {
|
fn getbig(i: int) -> int {
|
||||||
let m = if i >= 0 {
|
let m = if i >= 0 {
|
||||||
let j = getbig(i - 1);
|
let j = getbig(i - 1);
|
||||||
@ -12,5 +10,5 @@ fn getbig(i: int) -> int {
|
|||||||
}
|
}
|
||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
getbig(10000000);
|
getbig(100000);
|
||||||
}
|
}
|
@ -1,6 +1,3 @@
|
|||||||
// xfail-test
|
|
||||||
// compile-flags:--stack-growth
|
|
||||||
|
|
||||||
// Here we're testing that all of the argument registers, argument
|
// Here we're testing that all of the argument registers, argument
|
||||||
// stack slots, and return value are preserved across split stacks.
|
// stack slots, and return value are preserved across split stacks.
|
||||||
fn getbig(a0: int,
|
fn getbig(a0: int,
|
||||||
@ -40,6 +37,6 @@ fn getbig(a0: int,
|
|||||||
}
|
}
|
||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
let a = 1000000;
|
let a = 100000;
|
||||||
getbig(a, a+1, a+2, a+3, a+4, a+5, a+6, a+7, a+8, a+9);
|
getbig(a, a+1, a+2, a+3, a+4, a+5, a+6, a+7, a+8, a+9);
|
||||||
}
|
}
|
@ -1,6 +1,3 @@
|
|||||||
// xfail-test
|
|
||||||
// compile-flags:--stack-growth
|
|
||||||
|
|
||||||
// This is testing for stack frames greater than 256 bytes,
|
// This is testing for stack frames greater than 256 bytes,
|
||||||
// for which function prologues are generated differently
|
// for which function prologues are generated differently
|
||||||
|
|
||||||
|
@ -1,6 +1,3 @@
|
|||||||
// xfail-test
|
|
||||||
// compile-flags:--stack-growth
|
|
||||||
|
|
||||||
// This test will call __morestack with various minimum stack sizes
|
// This test will call __morestack with various minimum stack sizes
|
||||||
|
|
||||||
use std;
|
use std;
|
||||||
|
@ -1,6 +1,3 @@
|
|||||||
// xfail-test
|
|
||||||
// compile-flags:--stack-growth
|
|
||||||
|
|
||||||
// This test attempts to force the dynamic linker to resolve
|
// This test attempts to force the dynamic linker to resolve
|
||||||
// external symbols as close to the red zone as possible.
|
// external symbols as close to the red zone as possible.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user