diff options
| author | Seo Sanghyeon <sanxiyn@gmail.com> | 2013-10-03 15:48:44 +0900 |
|---|---|---|
| committer | Seo Sanghyeon <sanxiyn@gmail.com> | 2013-10-03 15:48:44 +0900 |
| commit | 0640ae0ecde3cfbd6611652e19da0d6fde193548 (patch) | |
| tree | 0a17299b31e5289fce785d99caebe1fe41cc45eb | |
| parent | b637798a5aa7878daa57c147028e98f2c5bc03c5 (diff) | |
| download | rust-0640ae0ecde3cfbd6611652e19da0d6fde193548.tar.gz rust-0640ae0ecde3cfbd6611652e19da0d6fde193548.zip | |
Ignore tests on Android correctly
| -rw-r--r-- | src/test/run-pass/rtio-processes.rs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/test/run-pass/rtio-processes.rs b/src/test/run-pass/rtio-processes.rs index de8e10b2bc6..2d38531a648 100644 --- a/src/test/run-pass/rtio-processes.rs +++ b/src/test/run-pass/rtio-processes.rs @@ -29,7 +29,7 @@ use std::rt::io::pipe::*; use std::str; #[test] -#[cfg(unix, not(android))] +#[cfg(unix, not(target_os="android"))] fn smoke() { let io = ~[]; let args = ProcessConfig { @@ -46,7 +46,7 @@ fn smoke() { } #[test] -#[cfg(unix, not(android))] +#[cfg(unix, not(target_os="android"))] fn smoke_failure() { let io = ~[]; let args = ProcessConfig { @@ -63,7 +63,7 @@ fn smoke_failure() { } #[test] -#[cfg(unix, not(android))] +#[cfg(unix, not(target_os="android"))] fn exit_reported_right() { let io = ~[]; let args = ProcessConfig { @@ -103,7 +103,7 @@ fn run_output(args: ProcessConfig) -> ~str { } #[test] -#[cfg(unix, not(android))] +#[cfg(unix, not(target_os="android"))] fn stdout_works() { let pipe = PipeStream::new().unwrap(); let io = ~[Ignored, CreatePipe(pipe, false, true)]; @@ -118,7 +118,7 @@ fn stdout_works() { } #[test] -#[cfg(unix, not(android))] +#[cfg(unix, not(target_os="android"))] fn set_cwd_works() { let pipe = PipeStream::new().unwrap(); let io = ~[Ignored, CreatePipe(pipe, false, true)]; @@ -134,7 +134,7 @@ fn set_cwd_works() { } #[test] -#[cfg(unix, not(android))] +#[cfg(unix, not(target_os="android"))] fn stdin_works() { let input = PipeStream::new().unwrap(); let output = PipeStream::new().unwrap(); |
