@@ -921,7 +921,7 @@ mod tests {
921
921
assert ! ( !cond. signal( ) ) ;
922
922
}
923
923
}
924
- #[ test] # [ ignore ( cfg ( windows ) ) ]
924
+ #[ test]
925
925
fn test_mutex_killed_simple ( ) {
926
926
// Mutex must get automatically unlocked if failed/killed within.
927
927
let m = ~Mutex :: new ( ) ;
@@ -937,7 +937,7 @@ mod tests {
937
937
do m. lock { }
938
938
}
939
939
#[ ignore( reason = "linked failure" ) ]
940
- #[ test] # [ ignore ( cfg ( windows ) ) ]
940
+ #[ test]
941
941
fn test_mutex_killed_cond ( ) {
942
942
// Getting killed during cond wait must not corrupt the mutex while
943
943
// unwinding (e.g. double unlock).
@@ -964,7 +964,7 @@ mod tests {
964
964
}
965
965
}
966
966
#[ ignore( reason = "linked failure" ) ]
967
- #[ test] # [ ignore ( cfg ( windows ) ) ]
967
+ #[ test]
968
968
fn test_mutex_killed_broadcast ( ) {
969
969
use std:: unstable:: finally:: Finally ;
970
970
@@ -1024,7 +1024,7 @@ mod tests {
1024
1024
cond. wait ( ) ;
1025
1025
}
1026
1026
}
1027
- #[ test] # [ ignore ( cfg ( windows ) ) ]
1027
+ #[ test]
1028
1028
fn test_mutex_different_conds ( ) {
1029
1029
let result = do task:: try {
1030
1030
let m = ~Mutex : : new_with_condvars ( 2 ) ;
@@ -1045,7 +1045,7 @@ mod tests {
1045
1045
} ;
1046
1046
assert ! ( result. is_err( ) ) ;
1047
1047
}
1048
- #[ test] # [ ignore ( cfg ( windows ) ) ]
1048
+ #[ test]
1049
1049
fn test_mutex_no_condvars ( ) {
1050
1050
let result = do task:: try {
1051
1051
let m = ~Mutex : : new_with_condvars ( 0 ) ;
@@ -1275,7 +1275,7 @@ mod tests {
1275
1275
test_rwlock_cond_broadcast_helper ( 12 , false , true ) ;
1276
1276
test_rwlock_cond_broadcast_helper ( 12 , false , false ) ;
1277
1277
}
1278
- #[ cfg( test) ] # [ ignore ( cfg ( windows ) ) ]
1278
+ #[ cfg( test) ]
1279
1279
fn rwlock_kill_helper ( mode1 : RWLockMode , mode2 : RWLockMode ) {
1280
1280
// Mutex must get automatically unlocked if failed/killed within.
1281
1281
let x = ~RWLock :: new ( ) ;
@@ -1290,23 +1290,23 @@ mod tests {
1290
1290
// child task must have finished by the time try returns
1291
1291
do lock_rwlock_in_mode ( x, mode2) { }
1292
1292
}
1293
- #[ test] # [ ignore ( cfg ( windows ) ) ]
1293
+ #[ test]
1294
1294
fn test_rwlock_reader_killed_writer ( ) {
1295
1295
rwlock_kill_helper ( Read , Write ) ;
1296
1296
}
1297
- #[ test] # [ ignore ( cfg ( windows ) ) ]
1297
+ #[ test]
1298
1298
fn test_rwlock_writer_killed_reader ( ) {
1299
1299
rwlock_kill_helper ( Write , Read ) ;
1300
1300
}
1301
- #[ test] # [ ignore ( cfg ( windows ) ) ]
1301
+ #[ test]
1302
1302
fn test_rwlock_reader_killed_reader ( ) {
1303
1303
rwlock_kill_helper ( Read , Read ) ;
1304
1304
}
1305
- #[ test] # [ ignore ( cfg ( windows ) ) ]
1305
+ #[ test]
1306
1306
fn test_rwlock_writer_killed_writer ( ) {
1307
1307
rwlock_kill_helper ( Write , Write ) ;
1308
1308
}
1309
- #[ test] # [ ignore ( cfg ( windows ) ) ]
1309
+ #[ test]
1310
1310
fn test_rwlock_kill_downgrader ( ) {
1311
1311
rwlock_kill_helper ( Downgrade , Read ) ;
1312
1312
rwlock_kill_helper ( Read , Downgrade ) ;
@@ -1321,7 +1321,7 @@ mod tests {
1321
1321
rwlock_kill_helper ( Downgrade , DowngradeRead ) ;
1322
1322
rwlock_kill_helper ( Downgrade , DowngradeRead ) ;
1323
1323
}
1324
- #[ test] #[ should_fail] # [ ignore ( cfg ( windows ) ) ]
1324
+ #[ test] #[ should_fail]
1325
1325
fn test_rwlock_downgrade_cant_swap ( ) {
1326
1326
// Tests that you can't downgrade with a different rwlock's token.
1327
1327
let x = ~RWLock :: new ( ) ;
0 commit comments