]> git.lizzy.rs Git - rust.git/commitdiff
Turned off libstd unit tests that currently fail on Windows.
authorVadim Chugunov <vadimcn@gmail.com>
Wed, 28 Aug 2013 08:44:25 +0000 (01:44 -0700)
committerVadim Chugunov <vadimcn@gmail.com>
Wed, 28 Aug 2013 08:44:25 +0000 (01:44 -0700)
src/libstd/rt/io/file.rs
src/libstd/rt/io/net/tcp.rs
src/libstd/rt/io/support.rs
src/libstd/rt/uv/file.rs
src/libstd/rt/uv/net.rs
src/libstd/rt/uv/uvio.rs
src/libstd/rt/uv/uvll.rs
src/libstd/unstable/dynamic_lib.rs

index 534e308a1a6e8dc65e0414560617070abe56aaa7..1104f800ee2d11661d87102e2ce010f0bc03bfc3 100644 (file)
@@ -165,6 +165,7 @@ fn file_test_smoke_test_impl() {
 }
 
 #[test]
+#[ignore(cfg(windows))] // FIXME #8810
 fn file_test_io_smoke_test() {
     file_test_smoke_test_impl();
 }
@@ -232,6 +233,7 @@ fn file_test_io_non_positional_read_impl() {
 }
 
 #[test]
+#[ignore(cfg(windows))] // FIXME #8810
 fn file_test_io_non_positional_read() {
     file_test_io_non_positional_read_impl();
 }
@@ -264,6 +266,7 @@ fn file_test_io_seeking_impl() {
     }
 }
 #[test]
+#[ignore(cfg(windows))] // FIXME #8810
 fn file_test_io_seek_and_tell_smoke_test() {
     file_test_io_seeking_impl();
 }
@@ -295,6 +298,7 @@ fn file_test_io_seek_and_write_impl() {
     }
 }
 #[test]
+#[ignore(cfg(windows))] // FIXME #8810
 fn file_test_io_seek_and_write() {
     file_test_io_seek_and_write_impl();
 }
@@ -334,6 +338,7 @@ fn file_test_io_seek_shakedown_impl() {
     }
 }
 #[test]
+#[ignore(cfg(windows))] // FIXME #8810
 fn file_test_io_seek_shakedown() {
     file_test_io_seek_shakedown_impl();
 }
index dc7135f4a61ecb2bea11351b4a6b67fc3e6c9d52..8415590193e837e03032866b221406b84ca5d86c 100644 (file)
@@ -162,6 +162,7 @@ fn bind_error() {
     }
 
     #[test]
+    #[ignore(cfg(windows))] // FIXME #8811
     fn connect_error() {
         do run_in_newsched_task {
             let mut called = false;
@@ -258,6 +259,7 @@ fn read_eof_ip6() {
     }
 
     #[test]
+    #[ignore(cfg(windows))] // FIXME #8811
     fn read_eof_twice_ip4() {
         do run_in_newsched_task {
             let addr = next_test_ip4();
@@ -280,6 +282,7 @@ fn read_eof_twice_ip4() {
     }
 
     #[test]
+    #[ignore(cfg(windows))] // FIXME #8811
     fn read_eof_twice_ip6() {
         do run_in_newsched_task {
             let addr = next_test_ip6();
@@ -302,6 +305,7 @@ fn read_eof_twice_ip6() {
     }
 
     #[test]
+    #[ignore(cfg(windows))] // FIXME #8811
     fn write_close_ip4() {
         do run_in_newsched_task {
             let addr = next_test_ip4();
@@ -331,6 +335,7 @@ fn write_close_ip4() {
     }
 
     #[test]
+    #[ignore(cfg(windows))] // FIXME #8811
     fn write_close_ip6() {
         do run_in_newsched_task {
             let addr = next_test_ip6();
index 7bace5d6df2ccfdba1cfe7538ab05cbed10da6cb..afbff77f9883226e03e4985eb696c06de631e2a1 100644 (file)
@@ -33,6 +33,7 @@ mod test {
     use super::PathLike;
 
     #[test]
+    #[ignore(cfg(windows))] // FIXME #8812
     fn path_like_smoke_test() {
         let expected = "/home";
         let path = Path(expected);
index 5c77181d7eb83a7098a3cb194a85ee89c6157fa8..4208fc50ab58de3bc9eb48b85b4fdb0c64edd98d 100644 (file)
@@ -405,11 +405,13 @@ fn file_test_full_simple_impl_sync() {
     }
 
     #[test]
+    #[ignore(cfg(windows))] // FIXME #8814
     fn file_test_full_simple() {
         file_test_full_simple_impl();
     }
 
     #[test]
+    #[ignore(cfg(windows))] // FIXME #8814
     fn file_test_full_simple_sync() {
         file_test_full_simple_impl_sync();
     }
index 1581b0170878fb0f7276c732860d7e6e2ef65df1..2c17ac209c727e08dd24a27b89eaeab5dcc42619 100644 (file)
@@ -600,6 +600,7 @@ fn udp_bind_close_ip6() {
     }
 
     #[test]
+    #[ignore(cfg(windows))] // FIXME #8815
     fn listen_ip4() {
         do run_in_bare_thread() {
             static MAX: int = 10;
@@ -674,6 +675,7 @@ fn listen_ip4() {
     }
 
     #[test]
+    #[ignore(cfg(windows))] // FIXME #8815
     fn listen_ip6() {
         do run_in_bare_thread() {
             static MAX: int = 10;
@@ -750,6 +752,7 @@ fn listen_ip6() {
     }
 
     #[test]
+    #[ignore(cfg(windows))] // FIXME #8815
     fn udp_recv_ip4() {
         do run_in_bare_thread() {
             static MAX: int = 10;
@@ -810,6 +813,7 @@ fn udp_recv_ip4() {
     }
 
     #[test]
+    #[ignore(cfg(windows))] // FIXME #8815
     fn udp_recv_ip6() {
         do run_in_bare_thread() {
             static MAX: int = 10;
index c771f93cef5e0de13b9b80e62b47fad4411662c2..3fd8b74f8a2c6ffe31d639894850d86dcfe8aa09 100644 (file)
@@ -1860,6 +1860,7 @@ fn test_read_read_read() {
 }
 
 #[test]
+#[ignore(cfg(windows))] // FIXME #8816
 fn test_udp_twice() {
     do run_in_newsched_task {
         let server_addr = next_test_ip4();
@@ -1994,6 +1995,7 @@ fn file_test_uvio_full_simple_impl() {
 }
 
 #[test]
+#[ignore(cfg(windows))] // FIXME #8816
 fn file_test_uvio_full_simple() {
     do run_in_newsched_task {
         file_test_uvio_full_simple_impl();
index 24e070ca239d1bfbc855dfb799fae2c08dffabaa..887c05a8b53a39d4fd925bec40b09fdd6c5bdb81 100644 (file)
@@ -286,6 +286,7 @@ fn handle_sanity_check() {
 }
 
 #[test]
+#[ignore(cfg(windows))] // FIXME #8817
 #[fixed_stack_segment]
 #[inline(never)]
 fn request_sanity_check() {
index 90cf49cad1ccf2a9553507091bfa31c925ee146b..db106de76d94e4ce5eb97d3097da2a2fdcd378ee 100644 (file)
@@ -90,6 +90,7 @@ mod test {
     use libc;
 
     #[test]
+    #[ignore(cfg(windows))] // FIXME #8818
     fn test_loading_cosine() {
         // The math library does not need to be loaded since it is already
         // statically linked in