about summary refs log tree commit diff
path: root/src/test
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2011-11-01 17:22:32 -0700
committerBrian Anderson <banderson@mozilla.com>2011-11-01 17:22:32 -0700
commiteb8995e2fa865ceed420f415433c84a164a8740a (patch)
treec470564af086d323f26b38ac3bbef6ac33fe1fa5 /src/test
parent76077a9fb7f67a8af1b2eb16c2814ca703ad6c97 (diff)
downloadrust-eb8995e2fa865ceed420f415433c84a164a8740a.tar.gz
rust-eb8995e2fa865ceed420f415433c84a164a8740a.zip
Ignore should_fail tests on windows
Diffstat (limited to 'src/test')
-rw-r--r--src/test/stdtest/char.rs2
-rw-r--r--src/test/stdtest/int.rs4
-rw-r--r--src/test/stdtest/uint.rs4
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);
 }