Skip to content

Commit 6538258

Browse files
committed
Turned off libstd unit tests that currently fail on Windows.
1 parent 6828428 commit 6538258

File tree

8 files changed

+21
-0
lines changed

8 files changed

+21
-0
lines changed

src/libstd/rt/io/file.rs

+5
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,7 @@ fn file_test_smoke_test_impl() {
165165
}
166166

167167
#[test]
168+
#[ignore(cfg(windows))] // FIXME #8810
168169
fn file_test_io_smoke_test() {
169170
file_test_smoke_test_impl();
170171
}
@@ -232,6 +233,7 @@ fn file_test_io_non_positional_read_impl() {
232233
}
233234

234235
#[test]
236+
#[ignore(cfg(windows))] // FIXME #8810
235237
fn file_test_io_non_positional_read() {
236238
file_test_io_non_positional_read_impl();
237239
}
@@ -264,6 +266,7 @@ fn file_test_io_seeking_impl() {
264266
}
265267
}
266268
#[test]
269+
#[ignore(cfg(windows))] // FIXME #8810
267270
fn file_test_io_seek_and_tell_smoke_test() {
268271
file_test_io_seeking_impl();
269272
}
@@ -295,6 +298,7 @@ fn file_test_io_seek_and_write_impl() {
295298
}
296299
}
297300
#[test]
301+
#[ignore(cfg(windows))] // FIXME #8810
298302
fn file_test_io_seek_and_write() {
299303
file_test_io_seek_and_write_impl();
300304
}
@@ -334,6 +338,7 @@ fn file_test_io_seek_shakedown_impl() {
334338
}
335339
}
336340
#[test]
341+
#[ignore(cfg(windows))] // FIXME #8810
337342
fn file_test_io_seek_shakedown() {
338343
file_test_io_seek_shakedown_impl();
339344
}

src/libstd/rt/io/net/tcp.rs

+5
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,7 @@ mod test {
162162
}
163163

164164
#[test]
165+
#[ignore(cfg(windows))] // FIXME #8811
165166
fn connect_error() {
166167
do run_in_newsched_task {
167168
let mut called = false;
@@ -258,6 +259,7 @@ mod test {
258259
}
259260

260261
#[test]
262+
#[ignore(cfg(windows))] // FIXME #8811
261263
fn read_eof_twice_ip4() {
262264
do run_in_newsched_task {
263265
let addr = next_test_ip4();
@@ -280,6 +282,7 @@ mod test {
280282
}
281283

282284
#[test]
285+
#[ignore(cfg(windows))] // FIXME #8811
283286
fn read_eof_twice_ip6() {
284287
do run_in_newsched_task {
285288
let addr = next_test_ip6();
@@ -302,6 +305,7 @@ mod test {
302305
}
303306

304307
#[test]
308+
#[ignore(cfg(windows))] // FIXME #8811
305309
fn write_close_ip4() {
306310
do run_in_newsched_task {
307311
let addr = next_test_ip4();
@@ -331,6 +335,7 @@ mod test {
331335
}
332336

333337
#[test]
338+
#[ignore(cfg(windows))] // FIXME #8811
334339
fn write_close_ip6() {
335340
do run_in_newsched_task {
336341
let addr = next_test_ip6();

src/libstd/rt/io/support.rs

+1
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ mod test {
3333
use super::PathLike;
3434

3535
#[test]
36+
#[ignore(cfg(windows))] // FIXME #8812
3637
fn path_like_smoke_test() {
3738
let expected = "/home";
3839
let path = Path(expected);

src/libstd/rt/uv/file.rs

+2
Original file line numberDiff line numberDiff line change
@@ -405,11 +405,13 @@ mod test {
405405
}
406406
407407
#[test]
408+
#[ignore(cfg(windows))] // FIXME #8814
408409
fn file_test_full_simple() {
409410
file_test_full_simple_impl();
410411
}
411412
412413
#[test]
414+
#[ignore(cfg(windows))] // FIXME #8814
413415
fn file_test_full_simple_sync() {
414416
file_test_full_simple_impl_sync();
415417
}

src/libstd/rt/uv/net.rs

+4
Original file line numberDiff line numberDiff line change
@@ -600,6 +600,7 @@ mod test {
600600
}
601601
602602
#[test]
603+
#[ignore(cfg(windows))] // FIXME #8815
603604
fn listen_ip4() {
604605
do run_in_bare_thread() {
605606
static MAX: int = 10;
@@ -674,6 +675,7 @@ mod test {
674675
}
675676
676677
#[test]
678+
#[ignore(cfg(windows))] // FIXME #8815
677679
fn listen_ip6() {
678680
do run_in_bare_thread() {
679681
static MAX: int = 10;
@@ -750,6 +752,7 @@ mod test {
750752
}
751753
752754
#[test]
755+
#[ignore(cfg(windows))] // FIXME #8815
753756
fn udp_recv_ip4() {
754757
do run_in_bare_thread() {
755758
static MAX: int = 10;
@@ -810,6 +813,7 @@ mod test {
810813
}
811814
812815
#[test]
816+
#[ignore(cfg(windows))] // FIXME #8815
813817
fn udp_recv_ip6() {
814818
do run_in_bare_thread() {
815819
static MAX: int = 10;

src/libstd/rt/uv/uvio.rs

+2
Original file line numberDiff line numberDiff line change
@@ -1860,6 +1860,7 @@ fn test_read_read_read() {
18601860
}
18611861

18621862
#[test]
1863+
#[ignore(cfg(windows))] // FIXME #8816
18631864
fn test_udp_twice() {
18641865
do run_in_newsched_task {
18651866
let server_addr = next_test_ip4();
@@ -1994,6 +1995,7 @@ fn file_test_uvio_full_simple_impl() {
19941995
}
19951996

19961997
#[test]
1998+
#[ignore(cfg(windows))] // FIXME #8816
19971999
fn file_test_uvio_full_simple() {
19982000
do run_in_newsched_task {
19992001
file_test_uvio_full_simple_impl();

src/libstd/rt/uv/uvll.rs

+1
Original file line numberDiff line numberDiff line change
@@ -286,6 +286,7 @@ fn handle_sanity_check() {
286286
}
287287

288288
#[test]
289+
#[ignore(cfg(windows))] // FIXME #8817
289290
#[fixed_stack_segment]
290291
#[inline(never)]
291292
fn request_sanity_check() {

src/libstd/unstable/dynamic_lib.rs

+1
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ mod test {
9090
use libc;
9191

9292
#[test]
93+
#[ignore(cfg(windows))] // FIXME #8818
9394
fn test_loading_cosine() {
9495
// The math library does not need to be loaded since it is already
9596
// statically linked in

0 commit comments

Comments
 (0)