diff --git a/src/test/stdtest/char.rs b/src/test/stdtest/char.rs index 79b803dc6c8b..ac567d23341c 100644 --- a/src/test/stdtest/char.rs +++ b/src/test/stdtest/char.rs @@ -29,12 +29,14 @@ fn test_to_digit() { #[test] #[should_fail] +#[ignore(cfg(target_os = "win32"))] fn test_to_digit_fail_1() { char::to_digit(' '); } #[test] #[should_fail] +#[ignore(cfg(target_os = "win32"))] fn test_to_digit_fail_2() { char::to_digit('$'); } diff --git a/src/test/stdtest/int.rs b/src/test/stdtest/int.rs index 28b9b94c2ff4..9136289e9360 100644 --- a/src/test/stdtest/int.rs +++ b/src/test/stdtest/int.rs @@ -21,12 +21,14 @@ fn test_from_str() { #[test] #[should_fail] +#[ignore(cfg(target_os = "win32"))] fn test_from_str_fail_1() { int::from_str(" "); } #[test] #[should_fail] +#[ignore(cfg(target_os = "win32"))] fn test_from_str_fail_2() { int::from_str("x"); } @@ -54,12 +56,14 @@ fn test_parse_buf() { #[test] #[should_fail] +#[ignore(cfg(target_os = "win32"))] fn test_parse_buf_fail_1() { int::parse_buf(bytes("Z"), 35u); } #[test] #[should_fail] +#[ignore(cfg(target_os = "win32"))] fn test_parse_buf_fail_2() { int::parse_buf(bytes("-9"), 2u); } diff --git a/src/test/stdtest/uint.rs b/src/test/stdtest/uint.rs index 6a2b5bdbd3ae..0ba2ac39c1d3 100644 --- a/src/test/stdtest/uint.rs +++ b/src/test/stdtest/uint.rs @@ -16,12 +16,14 @@ fn test_from_str() { #[test] #[should_fail] +#[ignore(cfg(target_os = "win32"))] fn test_from_str_fail_1() { uint::from_str(" "); } #[test] #[should_fail] +#[ignore(cfg(target_os = "win32"))] fn test_from_str_fail_2() { uint::from_str("x"); } @@ -38,12 +40,14 @@ fn test_parse_buf() { #[test] #[should_fail] +#[ignore(cfg(target_os = "win32"))] fn test_parse_buf_fail_1() { uint::parse_buf(bytes("Z"), 10u); } #[test] #[should_fail] +#[ignore(cfg(target_os = "win32"))] fn test_parse_buf_fail_2() { uint::parse_buf(bytes("_"), 2u); }