Skip to content

Commit eb28b76

Browse files
committed
dlist should_fail tests ignore(cfg(windows))
1 parent 67b9d82 commit eb28b76

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/libcore/dlist.rs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -590,15 +590,15 @@ mod tests {
590590
l.assert_consistent(); assert l.pop().get() == 3;
591591
l.assert_consistent(); assert l.is_empty();
592592
}
593-
#[test] #[should_fail]
593+
#[test] #[should_fail] #[ignore(cfg(windows))]
594594
fn test_asymmetric_link() {
595595
let l = create::<int>();
596596
let one = l.push_n(1);
597597
let two = l.push_n(2);
598598
two.prev = none;
599599
l.assert_consistent();
600600
}
601-
#[test] #[should_fail]
601+
#[test] #[should_fail] #[ignore(cfg(windows))]
602602
fn test_cyclic_list() {
603603
let l = create::<int>();
604604
let one = l.push_n(1);
@@ -608,32 +608,32 @@ mod tests {
608608
one.prev = some(three);
609609
l.assert_consistent();
610610
}
611-
#[test] #[should_fail]
611+
#[test] #[should_fail] #[ignore(cfg(windows))]
612612
fn test_headless() {
613613
create::<int>().head();
614614
}
615-
#[test] #[should_fail]
615+
#[test] #[should_fail] #[ignore(cfg(windows))]
616616
fn test_insert_already_present_before() {
617617
let l = create::<int>();
618618
let one = l.push_n(1);
619619
let two = l.push_n(2);
620620
l.insert_n_before(two, one);
621621
}
622-
#[test] #[should_fail]
622+
#[test] #[should_fail] #[ignore(cfg(windows))]
623623
fn test_insert_already_present_after() {
624624
let l = create::<int>();
625625
let one = l.push_n(1);
626626
let two = l.push_n(2);
627627
l.insert_n_after(one, two);
628628
}
629-
#[test] #[should_fail]
629+
#[test] #[should_fail] #[ignore(cfg(windows))]
630630
fn test_insert_before_orphan() {
631631
let l = create::<int>();
632632
let one = create_node(1);
633633
let two = create_node(2);
634634
l.insert_n_before(one, two);
635635
}
636-
#[test] #[should_fail]
636+
#[test] #[should_fail] #[ignore(cfg(windows))]
637637
fn test_insert_after_orphan() {
638638
let l = create::<int>();
639639
let one = create_node(1);

0 commit comments

Comments
 (0)