From 1d256ba6e83c9f779e8c9a5346eb5df95ef589b2 Mon Sep 17 00:00:00 2001 From: Brian Anderson Date: Wed, 31 Jul 2013 18:11:18 -0700 Subject: [PATCH] test: Disable morestack tests The new scheduler does not yet implement split stacks --- src/test/run-fail/morestack1.rs | 1 + src/test/run-fail/morestack2.rs | 1 + src/test/run-fail/morestack3.rs | 1 + src/test/run-fail/morestack4.rs | 1 + src/test/run-pass/morestack1.rs | 2 ++ src/test/run-pass/morestack2.rs | 2 ++ src/test/run-pass/morestack3.rs | 2 ++ src/test/run-pass/morestack4.rs | 2 ++ src/test/run-pass/morestack5.rs | 2 ++ src/test/run-pass/morestack6.rs | 2 ++ 10 files changed, 16 insertions(+) diff --git a/src/test/run-fail/morestack1.rs b/src/test/run-fail/morestack1.rs index f4faac0b2aba6..d3e3be6c2caab 100644 --- a/src/test/run-fail/morestack1.rs +++ b/src/test/run-fail/morestack1.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// xfail-test newsched transition // error-pattern:fail fn getbig(i: int) { if i != 0 { diff --git a/src/test/run-fail/morestack2.rs b/src/test/run-fail/morestack2.rs index c3230965eceab..bf03695855e4a 100644 --- a/src/test/run-fail/morestack2.rs +++ b/src/test/run-fail/morestack2.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// xfail-test newsched transition // error-pattern:explicit failure // This time we're testing that the stack limits are restored diff --git a/src/test/run-fail/morestack3.rs b/src/test/run-fail/morestack3.rs index 4e059c5bd3c3f..4a8586fd19f35 100644 --- a/src/test/run-fail/morestack3.rs +++ b/src/test/run-fail/morestack3.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// xfail-test newsched transition // error-pattern:explicit failure // Just testing unwinding diff --git a/src/test/run-fail/morestack4.rs b/src/test/run-fail/morestack4.rs index db46438ea3c0f..b6fe25bc7a2ed 100644 --- a/src/test/run-fail/morestack4.rs +++ b/src/test/run-fail/morestack4.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// xfail-test newsched transition // error-pattern:explicit failure // Just testing unwinding diff --git a/src/test/run-pass/morestack1.rs b/src/test/run-pass/morestack1.rs index 775bbc883f6d8..e1a5c8c42c04c 100644 --- a/src/test/run-pass/morestack1.rs +++ b/src/test/run-pass/morestack1.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// xfail-test newsched transition + fn getbig(i: int) { if i != 0 { getbig(i - 1); diff --git a/src/test/run-pass/morestack2.rs b/src/test/run-pass/morestack2.rs index e3e2a788230a7..cf42af0e8652a 100644 --- a/src/test/run-pass/morestack2.rs +++ b/src/test/run-pass/morestack2.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// xfail-test newsched transition + fn getbig(i: int) -> int { let m = if i >= 0 { let j = getbig(i - 1); diff --git a/src/test/run-pass/morestack3.rs b/src/test/run-pass/morestack3.rs index a21b13743fe9d..b24afa151e259 100644 --- a/src/test/run-pass/morestack3.rs +++ b/src/test/run-pass/morestack3.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// xfail-test newsched transition + // 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, diff --git a/src/test/run-pass/morestack4.rs b/src/test/run-pass/morestack4.rs index 82d4279ed2b96..bd4f5163b03e0 100644 --- a/src/test/run-pass/morestack4.rs +++ b/src/test/run-pass/morestack4.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// xfail-test newsched transition + // 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 7f947e332c079..ec8ed7784099f 100644 --- a/src/test/run-pass/morestack5.rs +++ b/src/test/run-pass/morestack5.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// xfail-test newsched transition + // This test will call __morestack with various minimum stack sizes extern mod extra; diff --git a/src/test/run-pass/morestack6.rs b/src/test/run-pass/morestack6.rs index cbbead6dbda3b..f004553f9c986 100644 --- a/src/test/run-pass/morestack6.rs +++ b/src/test/run-pass/morestack6.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// xfail-test newsched transition + // This test attempts to force the dynamic linker to resolve // external symbols as close to the red zone as possible.