diff --git a/src/test/run-fail/morestack1.rs b/src/test/run-fail/morestack1.rs index fb64630b700..43f94f3be0b 100644 --- a/src/test/run-fail/morestack1.rs +++ b/src/test/run-fail/morestack1.rs @@ -1,5 +1,3 @@ -// xfail-test -// compile-flags:--stack-growth // error-pattern:explicit failure fn getbig(i: int) { if i != 0 { diff --git a/src/test/run-fail/morestack2.rs b/src/test/run-fail/morestack2.rs index 25170db40e4..51748afac75 100644 --- a/src/test/run-fail/morestack2.rs +++ b/src/test/run-fail/morestack2.rs @@ -1,6 +1,4 @@ -// xfail-test // error-pattern:explicit failure -// compile-flags:--stack-growth // This time we're testing that the stack limits are restored // correctly after calling into the C stack and unwinding. diff --git a/src/test/run-fail/morestack3.rs b/src/test/run-fail/morestack3.rs index e1a77bee9b6..b682499e3a9 100644 --- a/src/test/run-fail/morestack3.rs +++ b/src/test/run-fail/morestack3.rs @@ -1,6 +1,4 @@ -// xfail-test // error-pattern:explicit failure -// compile-flags:--stack-growth // Just testing unwinding diff --git a/src/test/run-fail/morestack4.rs b/src/test/run-fail/morestack4.rs index 87c5ac570ea..3c85c45e897 100644 --- a/src/test/run-fail/morestack4.rs +++ b/src/test/run-fail/morestack4.rs @@ -1,6 +1,4 @@ -// xfail-test // error-pattern:explicit failure -// compile-flags:--stack-growth // Just testing unwinding diff --git a/src/test/run-pass/morestack1.rs b/src/test/run-pass/morestack1.rs index 0a57be1f9f6..9c985ca8493 100644 --- a/src/test/run-pass/morestack1.rs +++ b/src/test/run-pass/morestack1.rs @@ -1,5 +1,3 @@ -// xfail-test -// compile-flags:--stack-growth fn getbig(i: int) { if i != 0 { getbig(i - 1); @@ -7,5 +5,5 @@ fn getbig(i: int) { } fn main() { - getbig(10000000); + getbig(100000); } \ No newline at end of file diff --git a/src/test/run-pass/morestack2.rs b/src/test/run-pass/morestack2.rs index ad600dcfa69..ad46265fb93 100644 --- a/src/test/run-pass/morestack2.rs +++ b/src/test/run-pass/morestack2.rs @@ -1,5 +1,3 @@ -// xfail-test -// compile-flags:--stack-growth fn getbig(i: int) -> int { let m = if i >= 0 { let j = getbig(i - 1); @@ -12,5 +10,5 @@ fn getbig(i: int) -> int { } fn main() { - getbig(10000000); + getbig(100000); } \ No newline at end of file diff --git a/src/test/run-pass/morestack3.rs b/src/test/run-pass/morestack3.rs index dd679df0c5a..7f38c34347b 100644 --- a/src/test/run-pass/morestack3.rs +++ b/src/test/run-pass/morestack3.rs @@ -1,6 +1,3 @@ -// xfail-test -// compile-flags:--stack-growth - // Here we're testing that all of the argument registers, argument // stack slots, and return value are preserved across split stacks. fn getbig(a0: int, @@ -40,6 +37,6 @@ fn getbig(a0: int, } 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); } \ No newline at end of file diff --git a/src/test/run-pass/morestack4.rs b/src/test/run-pass/morestack4.rs index cdba6dd766e..1883f0e3ea9 100644 --- a/src/test/run-pass/morestack4.rs +++ b/src/test/run-pass/morestack4.rs @@ -1,6 +1,3 @@ -// xfail-test -// compile-flags:--stack-growth - // This is testing for stack frames greater than 256 bytes, // for which function prologues are generated differently diff --git a/src/test/run-pass/morestack5.rs b/src/test/run-pass/morestack5.rs index b05e0f85539..aab001c5629 100644 --- a/src/test/run-pass/morestack5.rs +++ b/src/test/run-pass/morestack5.rs @@ -1,6 +1,3 @@ -// xfail-test -// compile-flags:--stack-growth - // This test will call __morestack with various minimum stack sizes use std; diff --git a/src/test/run-pass/morestack6.rs b/src/test/run-pass/morestack6.rs index c8e88ac7cdd..c72d4f98228 100644 --- a/src/test/run-pass/morestack6.rs +++ b/src/test/run-pass/morestack6.rs @@ -1,6 +1,3 @@ -// xfail-test -// compile-flags:--stack-growth - // This test attempts to force the dynamic linker to resolve // external symbols as close to the red zone as possible.