about summary refs log tree commit diff
path: root/src/test/stdtest
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/stdtest')
-rw-r--r--src/test/stdtest/task.rs16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/test/stdtest/task.rs b/src/test/stdtest/task.rs
index bc34428e5b2..8ed8b56af3d 100644
--- a/src/test/stdtest/task.rs
+++ b/src/test/stdtest/task.rs
@@ -5,7 +5,15 @@ import std::comm;
 #[test]
 fn test_sleep() { task::sleep(1000000u); }
 
+// FIXME: Leaks on windows
 #[test]
+#[cfg(target_os = "win32")]
+#[ignore]
+fn test_unsupervise() { }
+
+#[test]
+#[cfg(target_os = "macos")]
+#[cfg(target_os = "linux")]
 fn test_unsupervise() {
     fn# f(&&_i: ()) { task::unsupervise(); fail; }
     task::spawn((), f);
@@ -38,7 +46,15 @@ fn test_join_chan() {
     }
 }
 
+// FIXME: Leaks on windows
+#[test]
+#[cfg(target_os = "win32")]
+#[ignore]
+fn test_join_chan_fail() { }
+
 #[test]
+#[cfg(target_os = "macos")]
+#[cfg(target_os = "linux")]
 fn test_join_chan_fail() {
     fn# failer(&&_i: ()) { task::unsupervise(); fail }