Skip to content

Ignore tests on Android correctly #9698

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 3, 2013
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions src/test/run-pass/rtio-processes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -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 {
Expand All @@ -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 {
Expand Down Expand Up @@ -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)];
Expand All @@ -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)];
Expand All @@ -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();
Expand Down