diff options
Diffstat (limited to 'src/test')
| -rw-r--r-- | src/test/stdtest/char.rs | 2 | ||||
| -rw-r--r-- | src/test/stdtest/int.rs | 4 | ||||
| -rw-r--r-- | src/test/stdtest/uint.rs | 4 |
3 files changed, 10 insertions, 0 deletions
diff --git a/src/test/stdtest/char.rs b/src/test/stdtest/char.rs index 79b803dc6c8..ac567d23341 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 28b9b94c2ff..9136289e936 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 6a2b5bdbd3a..0ba2ac39c1d 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); } |
