@@ -659,6 +659,7 @@ pub unsafe fn rekillable<U>(f: &fn() -> U) -> U {
659
659
}
660
660
}
661
661
662
+ #[ ignore( reason = "linked failure" ) ]
662
663
#[ test] #[ ignore( cfg( windows) ) ]
663
664
fn test_kill_unkillable_task ( ) {
664
665
use rt:: test:: * ;
@@ -679,6 +680,7 @@ fn test_kill_unkillable_task() {
679
680
}
680
681
}
681
682
683
+ #[ ignore( reason = "linked failure" ) ]
682
684
#[ test] #[ ignore( cfg( windows) ) ]
683
685
fn test_kill_rekillable_task ( ) {
684
686
use rt:: test:: * ;
@@ -720,6 +722,7 @@ fn test_cant_dup_task_builder() {
720
722
#[ cfg( test) ]
721
723
fn block_forever ( ) { let ( po, _ch) = stream :: < ( ) > ( ) ; po. recv ( ) ; }
722
724
725
+ #[ ignore( reason = "linked failure" ) ]
723
726
#[ test] #[ ignore( cfg( windows) ) ]
724
727
fn test_spawn_unlinked_unsup_no_fail_down ( ) { // grandchild sends on a port
725
728
use rt:: test:: run_in_newsched_task;
@@ -738,13 +741,15 @@ fn test_spawn_unlinked_unsup_no_fail_down() { // grandchild sends on a port
738
741
po. recv ( ) ;
739
742
}
740
743
}
744
+ #[ ignore( reason = "linked failure" ) ]
741
745
#[ test] #[ ignore( cfg( windows) ) ]
742
746
fn test_spawn_unlinked_unsup_no_fail_up ( ) { // child unlinked fails
743
747
use rt:: test:: run_in_newsched_task;
744
748
do run_in_newsched_task {
745
749
do spawn_unlinked { fail!( ) ; }
746
750
}
747
751
}
752
+ #[ ignore( reason = "linked failure" ) ]
748
753
#[ test] #[ ignore( cfg( windows) ) ]
749
754
fn test_spawn_unlinked_sup_no_fail_up ( ) { // child unlinked fails
750
755
use rt:: test:: run_in_newsched_task;
@@ -754,6 +759,7 @@ fn test_spawn_unlinked_sup_no_fail_up() { // child unlinked fails
754
759
do 16 . times { task:: yield ( ) ; }
755
760
}
756
761
}
762
+ #[ ignore( reason = "linked failure" ) ]
757
763
#[ test] #[ ignore( cfg( windows) ) ]
758
764
fn test_spawn_unlinked_sup_fail_down ( ) {
759
765
use rt:: test:: run_in_newsched_task;
@@ -766,6 +772,7 @@ fn test_spawn_unlinked_sup_fail_down() {
766
772
}
767
773
}
768
774
775
+ #[ ignore( reason = "linked failure" ) ]
769
776
#[ test] #[ ignore( cfg( windows) ) ]
770
777
fn test_spawn_linked_sup_fail_up ( ) { // child fails; parent fails
771
778
use rt:: test:: run_in_newsched_task;
@@ -786,6 +793,7 @@ fn test_spawn_linked_sup_fail_up() { // child fails; parent fails
786
793
assert ! ( result. is_err( ) ) ;
787
794
}
788
795
}
796
+ #[ ignore( reason = "linked failure" ) ]
789
797
#[ test] #[ ignore( cfg( windows) ) ]
790
798
fn test_spawn_linked_sup_fail_down ( ) { // parent fails; child fails
791
799
use rt:: test:: run_in_newsched_task;
@@ -802,6 +810,7 @@ fn test_spawn_linked_sup_fail_down() { // parent fails; child fails
802
810
assert ! ( result. is_err( ) ) ;
803
811
}
804
812
}
813
+ #[ ignore( reason = "linked failure" ) ]
805
814
#[ test] #[ ignore( cfg( windows) ) ]
806
815
fn test_spawn_linked_unsup_fail_up ( ) { // child fails; parent fails
807
816
use rt:: test:: run_in_newsched_task;
@@ -814,6 +823,7 @@ fn test_spawn_linked_unsup_fail_up() { // child fails; parent fails
814
823
assert ! ( result. is_err( ) ) ;
815
824
}
816
825
}
826
+ #[ ignore( reason = "linked failure" ) ]
817
827
#[ test] #[ ignore( cfg( windows) ) ]
818
828
fn test_spawn_linked_unsup_fail_down ( ) { // parent fails; child fails
819
829
use rt:: test:: run_in_newsched_task;
@@ -826,6 +836,7 @@ fn test_spawn_linked_unsup_fail_down() { // parent fails; child fails
826
836
assert ! ( result. is_err( ) ) ;
827
837
}
828
838
}
839
+ #[ ignore( reason = "linked failure" ) ]
829
840
#[ test] #[ ignore( cfg( windows) ) ]
830
841
fn test_spawn_linked_unsup_default_opts ( ) { // parent fails; child fails
831
842
use rt:: test:: run_in_newsched_task;
@@ -844,6 +855,7 @@ fn test_spawn_linked_unsup_default_opts() { // parent fails; child fails
844
855
// A couple bonus linked failure tests - testing for failure propagation even
845
856
// when the middle task exits successfully early before kill signals are sent.
846
857
858
+ #[ ignore( reason = "linked failure" ) ]
847
859
#[ test] #[ ignore( cfg( windows) ) ]
848
860
fn test_spawn_failure_propagate_grandchild ( ) {
849
861
use rt:: test:: run_in_newsched_task;
@@ -860,6 +872,7 @@ fn test_spawn_failure_propagate_grandchild() {
860
872
}
861
873
}
862
874
875
+ #[ ignore( reason = "linked failure" ) ]
863
876
#[ test] #[ ignore( cfg( windows) ) ]
864
877
fn test_spawn_failure_propagate_secondborn ( ) {
865
878
use rt:: test:: run_in_newsched_task;
@@ -876,6 +889,7 @@ fn test_spawn_failure_propagate_secondborn() {
876
889
}
877
890
}
878
891
892
+ #[ ignore( reason = "linked failure" ) ]
879
893
#[ test] #[ ignore( cfg( windows) ) ]
880
894
fn test_spawn_failure_propagate_nephew_or_niece ( ) {
881
895
use rt:: test:: run_in_newsched_task;
@@ -892,6 +906,7 @@ fn test_spawn_failure_propagate_nephew_or_niece() {
892
906
}
893
907
}
894
908
909
+ #[ ignore( reason = "linked failure" ) ]
895
910
#[ test] #[ ignore( cfg( windows) ) ]
896
911
fn test_spawn_linked_sup_propagate_sibling ( ) {
897
912
use rt:: test:: run_in_newsched_task;
@@ -1195,6 +1210,7 @@ fn test_avoid_copying_the_body_unlinked() {
1195
1210
}
1196
1211
}
1197
1212
1213
+ #[ignore(reason = " linked failure") ]
1198
1214
#[ test]
1199
1215
#[ ignore( cfg( windows) ) ]
1200
1216
#[ should_fail]
@@ -1230,6 +1246,7 @@ fn test_unkillable() {
1230
1246
po. recv ( ) ;
1231
1247
}
1232
1248
1249
+ #[ ignore( reason = "linked failure" ) ]
1233
1250
#[ test]
1234
1251
#[ ignore( cfg( windows) ) ]
1235
1252
#[ should_fail]
@@ -1296,6 +1313,7 @@ fn test_simple_newsched_spawn() {
1296
1313
}
1297
1314
}
1298
1315
1316
+ #[ ignore( reason = "linked failure" ) ]
1299
1317
#[ test] #[ ignore( cfg( windows) ) ]
1300
1318
fn test_spawn_watched ( ) {
1301
1319
use rt:: test:: run_in_newsched_task;
@@ -1318,6 +1336,7 @@ fn test_spawn_watched() {
1318
1336
}
1319
1337
}
1320
1338
1339
+ #[ ignore( reason = "linked failure" ) ]
1321
1340
#[ test] #[ ignore( cfg( windows) ) ]
1322
1341
fn test_indestructible ( ) {
1323
1342
use rt:: test:: run_in_newsched_task;
0 commit comments