From 9b8c04e236145e15a22da2e3a71fbf0ebe4b8b1f Mon Sep 17 00:00:00 2001 From: Graydon Hoare Date: Wed, 9 Jan 2013 08:16:31 -0800 Subject: [PATCH] core: ignore recent should_fail tests on windows --- src/libcore/extfmt.rs | 2 ++ src/libcore/vec.rs | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/libcore/extfmt.rs b/src/libcore/extfmt.rs index 474e4ae77bb..420c113443e 100644 --- a/src/libcore/extfmt.rs +++ b/src/libcore/extfmt.rs @@ -435,12 +435,14 @@ pub mod ct { #[test] #[should_fail] + #[ignore(cfg(windows))] fn test_parse_type_missing() { parse_type("", 0, 0, die); } #[test] #[should_fail] + #[ignore(cfg(windows))] fn test_parse_type_unknown() { parse_type("!", 0, 1, die); } diff --git a/src/libcore/vec.rs b/src/libcore/vec.rs index aa554fa127c..761b82c0582 100644 --- a/src/libcore/vec.rs +++ b/src/libcore/vec.rs @@ -3867,7 +3867,7 @@ mod tests { } #[test] - #[ignore(windows)] + #[ignore(cfg(windows))] #[should_fail] fn test_as_mut_buf_fail() { let v = [mut (~0, @0), (~0, @0), (~0, @0), (~0, @0)]; @@ -3878,6 +3878,7 @@ mod tests { #[test] #[should_fail] + #[ignore(cfg(windows))] fn test_memcpy_oob() unsafe { let a = [mut 1, 2, 3, 4]; let b = [1, 2, 3, 4, 5];