@@ -921,7 +921,7 @@ mod tests {
921921 assert ! ( !cond. signal( ) ) ;
922922 }
923923 }
924- #[ test] # [ ignore ( cfg ( windows ) ) ]
924+ #[ test]
925925 fn test_mutex_killed_simple ( ) {
926926 // Mutex must get automatically unlocked if failed/killed within.
927927 let m = ~Mutex :: new ( ) ;
@@ -937,7 +937,7 @@ mod tests {
937937 do m. lock { }
938938 }
939939 #[ ignore( reason = "linked failure" ) ]
940- #[ test] # [ ignore ( cfg ( windows ) ) ]
940+ #[ test]
941941 fn test_mutex_killed_cond ( ) {
942942 // Getting killed during cond wait must not corrupt the mutex while
943943 // unwinding (e.g. double unlock).
@@ -964,7 +964,7 @@ mod tests {
964964 }
965965 }
966966 #[ ignore( reason = "linked failure" ) ]
967- #[ test] # [ ignore ( cfg ( windows ) ) ]
967+ #[ test]
968968 fn test_mutex_killed_broadcast ( ) {
969969 use std:: unstable:: finally:: Finally ;
970970
@@ -1024,7 +1024,7 @@ mod tests {
10241024 cond. wait ( ) ;
10251025 }
10261026 }
1027- #[ test] # [ ignore ( cfg ( windows ) ) ]
1027+ #[ test]
10281028 fn test_mutex_different_conds ( ) {
10291029 let result = do task:: try {
10301030 let m = ~Mutex : : new_with_condvars ( 2 ) ;
@@ -1045,7 +1045,7 @@ mod tests {
10451045 } ;
10461046 assert ! ( result. is_err( ) ) ;
10471047 }
1048- #[ test] # [ ignore ( cfg ( windows ) ) ]
1048+ #[ test]
10491049 fn test_mutex_no_condvars ( ) {
10501050 let result = do task:: try {
10511051 let m = ~Mutex : : new_with_condvars ( 0 ) ;
@@ -1275,7 +1275,7 @@ mod tests {
12751275 test_rwlock_cond_broadcast_helper ( 12 , false , true ) ;
12761276 test_rwlock_cond_broadcast_helper ( 12 , false , false ) ;
12771277 }
1278- #[ cfg( test) ] # [ ignore ( cfg ( windows ) ) ]
1278+ #[ cfg( test) ]
12791279 fn rwlock_kill_helper ( mode1 : RWLockMode , mode2 : RWLockMode ) {
12801280 // Mutex must get automatically unlocked if failed/killed within.
12811281 let x = ~RWLock :: new ( ) ;
@@ -1290,23 +1290,23 @@ mod tests {
12901290 // child task must have finished by the time try returns
12911291 do lock_rwlock_in_mode ( x, mode2) { }
12921292 }
1293- #[ test] # [ ignore ( cfg ( windows ) ) ]
1293+ #[ test]
12941294 fn test_rwlock_reader_killed_writer ( ) {
12951295 rwlock_kill_helper ( Read , Write ) ;
12961296 }
1297- #[ test] # [ ignore ( cfg ( windows ) ) ]
1297+ #[ test]
12981298 fn test_rwlock_writer_killed_reader ( ) {
12991299 rwlock_kill_helper ( Write , Read ) ;
13001300 }
1301- #[ test] # [ ignore ( cfg ( windows ) ) ]
1301+ #[ test]
13021302 fn test_rwlock_reader_killed_reader ( ) {
13031303 rwlock_kill_helper ( Read , Read ) ;
13041304 }
1305- #[ test] # [ ignore ( cfg ( windows ) ) ]
1305+ #[ test]
13061306 fn test_rwlock_writer_killed_writer ( ) {
13071307 rwlock_kill_helper ( Write , Write ) ;
13081308 }
1309- #[ test] # [ ignore ( cfg ( windows ) ) ]
1309+ #[ test]
13101310 fn test_rwlock_kill_downgrader ( ) {
13111311 rwlock_kill_helper ( Downgrade , Read ) ;
13121312 rwlock_kill_helper ( Read , Downgrade ) ;
@@ -1321,7 +1321,7 @@ mod tests {
13211321 rwlock_kill_helper ( Downgrade , DowngradeRead ) ;
13221322 rwlock_kill_helper ( Downgrade , DowngradeRead ) ;
13231323 }
1324- #[ test] #[ should_fail] # [ ignore ( cfg ( windows ) ) ]
1324+ #[ test] #[ should_fail]
13251325 fn test_rwlock_downgrade_cant_swap ( ) {
13261326 // Tests that you can't downgrade with a different rwlock's token.
13271327 let x = ~RWLock :: new ( ) ;
0 commit comments