diff options
| author | Graydon Hoare <graydon@mozilla.com> | 2013-01-09 08:16:31 -0800 |
|---|---|---|
| committer | Graydon Hoare <graydon@mozilla.com> | 2013-01-09 09:26:59 -0800 |
| commit | 9b8c04e236145e15a22da2e3a71fbf0ebe4b8b1f (patch) | |
| tree | d3e097be56c4a04790511e8ae5f6827e2beefd3a | |
| parent | c766924f44038d47108346bf237f510a3c869bf2 (diff) | |
| download | rust-9b8c04e236145e15a22da2e3a71fbf0ebe4b8b1f.tar.gz rust-9b8c04e236145e15a22da2e3a71fbf0ebe4b8b1f.zip | |
core: ignore recent should_fail tests on windows
| -rw-r--r-- | src/libcore/extfmt.rs | 2 | ||||
| -rw-r--r-- | src/libcore/vec.rs | 3 |
2 files changed, 4 insertions, 1 deletions
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]; |
