summary refs log tree commit diff
path: root/src/test
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2013-08-04 00:40:10 -0700
committerBrian Anderson <banderson@mozilla.com>2013-08-04 15:11:56 -0700
commit3f4c6cead67cedea5042d5ba84fb490dfee5462a (patch)
treee5100795a3925888510286ff5769b6043a510a41 /src/test
parent2f8346b949169bd0f4b8fe0630eb4bc49ae35f11 (diff)
downloadrust-3f4c6cead67cedea5042d5ba84fb490dfee5462a.tar.gz
rust-3f4c6cead67cedea5042d5ba84fb490dfee5462a.zip
Remove old tests and code for `select`
Not compatible with newsched
Diffstat (limited to 'src/test')
-rw-r--r--src/test/run-pass/issue-3176.rs39
1 files changed, 0 insertions, 39 deletions
diff --git a/src/test/run-pass/issue-3176.rs b/src/test/run-pass/issue-3176.rs
deleted file mode 100644
index df242ee3d30..00000000000
--- a/src/test/run-pass/issue-3176.rs
+++ /dev/null
@@ -1,39 +0,0 @@
-// Copyright 2012 The Rust Project Developers. See the COPYRIGHT
-// file at the top-level directory of this distribution and at
-// http://rust-lang.org/COPYRIGHT.
-//
-// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
-// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
-// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
-// option. This file may not be copied, modified, or distributed
-// except according to those terms.
-
-// xfail-fast
-// xfail-win32 #7999
-
-use std::comm::{Select2, Selectable};
-use std::comm;
-use std::task;
-
-pub fn main() {
-    let (p,c) = comm::stream();
-    do task::try || {
-        let (p2,c2) = comm::stream();
-        do task::spawn || {
-            p2.recv();
-            error!("sibling fails");
-            fail!();
-        }
-        let (p3,c3) = comm::stream();
-        c.send(c3);
-        c2.send(());
-        error!("child blocks");
-        let (p, c) = comm::stream();
-        let mut tuple = (p, p3);
-        tuple.select();
-        c.send(());
-    };
-    error!("parent tries");
-    assert!(!p.recv().try_send(()));
-    error!("all done!");
-}