about summary refs log tree commit diff
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2012-02-01 15:04:39 -0800
committerBrian Anderson <banderson@mozilla.com>2012-02-01 15:35:59 -0800
commitd24eb58a094b73f1b22cdc7ea5087b59f1d1b574 (patch)
tree04c7cf7f7dc36187a7189ecf309c45de4dfd37a8
parent694de53d281b5bdf3d187749cca9badf9063cd21 (diff)
downloadrust-d24eb58a094b73f1b22cdc7ea5087b59f1d1b574.tar.gz
rust-d24eb58a094b73f1b22cdc7ea5087b59f1d1b574.zip
core: Ignore should_fail tests on win32
-rw-r--r--src/libcore/str.rs2
-rw-r--r--src/libcore/vec.rs1
2 files changed, 3 insertions, 0 deletions
diff --git a/src/libcore/str.rs b/src/libcore/str.rs
index 9f40dd5c3a4..f93a5cb4255 100644
--- a/src/libcore/str.rs
+++ b/src/libcore/str.rs
@@ -1769,6 +1769,7 @@ mod tests {
 
     #[test]
     #[should_fail]
+    #[ignore(cfg(target_os = "win32"))]
     fn test_from_bytes_fail() {
         let bb = [0xff_u8, 0xb8_u8, 0xa8_u8,
                   0xe0_u8, 0xb9_u8, 0x84_u8,
@@ -1995,6 +1996,7 @@ mod tests {
 
     #[test]
     #[should_fail]
+    #[ignore(cfg(target_os = "win32"))]
     fn test_windowed_() {
         let _x = windowed(0u, "abcd");
     }
diff --git a/src/libcore/vec.rs b/src/libcore/vec.rs
index 357df699f87..6275f715937 100644
--- a/src/libcore/vec.rs
+++ b/src/libcore/vec.rs
@@ -1526,6 +1526,7 @@ mod tests {
 
     #[test]
     #[should_fail]
+    #[ignore(cfg(target_os = "win32"))]
     fn test_windowed_() {
         let _x = windowed (0u, [1u,2u,3u,4u,5u,6u]);
     }