auto merge of #10394 : yichoi/rust/make_check_pass_android, r=brson

To enable test on android bot #9120

some tests are disabled and can be fixed further.
This commit is contained in:
bors
2013-11-11 06:21:16 -08:00
69 changed files with 85 additions and 162 deletions

View File

@@ -191,6 +191,7 @@ mod test {
use super::super::local_loop; use super::super::local_loop;
#[test] #[test]
#[ignore(cfg(target_os="android"))] // cannot give tcp/ip permission without help of apk
fn getaddrinfo_test() { fn getaddrinfo_test() {
match GetAddrInfoRequest::run(local_loop(), Some("localhost"), None, None) { match GetAddrInfoRequest::run(local_loop(), Some("localhost"), None, None) {
Ok(infos) => { Ok(infos) => {

View File

@@ -114,6 +114,7 @@ mod test {
use super::*; use super::*;
#[test] #[test]
#[ignore(cfg(target_os="android"))] // cannot give tcp/ip permission without help of apk
fn dns_smoke_test() { fn dns_smoke_test() {
let ipaddrs = get_host_addresses("localhost").unwrap(); let ipaddrs = get_host_addresses("localhost").unwrap();
let mut found_local = false; let mut found_local = false;

View File

@@ -161,7 +161,7 @@ mod test {
} }
} }
#[test] #[cfg(unix)] #[test] #[cfg(unix, not(target_os="android"))] // FIXME(#10378)
fn test_io_signal_smoketest() { fn test_io_signal_smoketest() {
let mut signal = Listener::new(); let mut signal = Listener::new();
signal.register(Interrupt); signal.register(Interrupt);
@@ -173,7 +173,7 @@ mod test {
} }
} }
#[test] #[cfg(unix)] #[test] #[cfg(unix, not(target_os="android"))] // FIXME(#10378)
fn test_io_signal_two_signal_one_signum() { fn test_io_signal_two_signal_one_signum() {
let mut s1 = Listener::new(); let mut s1 = Listener::new();
let mut s2 = Listener::new(); let mut s2 = Listener::new();
@@ -191,7 +191,7 @@ mod test {
} }
} }
#[test] #[cfg(unix)] #[test] #[cfg(unix, not(target_os="android"))] // FIXME(#10378)
fn test_io_signal_unregister() { fn test_io_signal_unregister() {
let mut s1 = Listener::new(); let mut s1 = Listener::new();
let mut s2 = Listener::new(); let mut s2 = Listener::new();

View File

@@ -339,20 +339,14 @@ mod tests {
use rt::io::{Writer, Reader}; use rt::io::{Writer, Reader};
#[test] #[test]
#[cfg(not(target_os="android"))] #[cfg(not(target_os="android"))] // FIXME(#10380)
fn test_process_status() { fn test_process_status() {
assert_eq!(run::process_status("false", []), 1); assert_eq!(run::process_status("false", []), 1);
assert_eq!(run::process_status("true", []), 0); assert_eq!(run::process_status("true", []), 0);
} }
#[test]
#[cfg(target_os="android")]
fn test_process_status() {
assert_eq!(run::process_status("/system/bin/sh", [~"-c",~"false"]), 1);
assert_eq!(run::process_status("/system/bin/sh", [~"-c",~"true"]), 0);
}
#[test] #[test]
#[cfg(not(target_os="android"))] #[cfg(not(target_os="android"))] // FIXME(#10380)
fn test_process_output_output() { fn test_process_output_output() {
let run::ProcessOutput {status, output, error} let run::ProcessOutput {status, output, error}
@@ -366,24 +360,9 @@ mod tests {
assert_eq!(error, ~[]); assert_eq!(error, ~[]);
} }
} }
#[test]
#[cfg(target_os="android")]
fn test_process_output_output() {
let run::ProcessOutput {status, output, error}
= run::process_output("/system/bin/sh", [~"-c",~"echo hello"]);
let output_str = str::from_utf8(output);
assert_eq!(status, 0);
assert_eq!(output_str.trim().to_owned(), ~"hello");
// FIXME #7224
if !running_on_valgrind() {
assert_eq!(error, ~[]);
}
}
#[test] #[test]
#[cfg(not(target_os="android"))] #[cfg(not(target_os="android"))] // FIXME(#10380)
fn test_process_output_error() { fn test_process_output_error() {
let run::ProcessOutput {status, output, error} let run::ProcessOutput {status, output, error}
@@ -393,17 +372,6 @@ mod tests {
assert_eq!(output, ~[]); assert_eq!(output, ~[]);
assert!(!error.is_empty()); assert!(!error.is_empty());
} }
#[test]
#[cfg(target_os="android")]
fn test_process_output_error() {
let run::ProcessOutput {status, output, error}
= run::process_output("/system/bin/mkdir", [~"."]);
assert_eq!(status, 255);
assert_eq!(output, ~[]);
assert!(!error.is_empty());
}
#[test] #[test]
#[ignore] // FIXME(#10016) cat never sees stdin close #[ignore] // FIXME(#10016) cat never sees stdin close
@@ -454,37 +422,22 @@ mod tests {
} }
#[test] #[test]
#[cfg(not(target_os="android"))] #[cfg(not(target_os="android"))] // FIXME(#10380)
fn test_finish_once() { fn test_finish_once() {
let mut prog = run::Process::new("false", [], run::ProcessOptions::new()); let mut prog = run::Process::new("false", [], run::ProcessOptions::new());
assert_eq!(prog.finish(), 1); assert_eq!(prog.finish(), 1);
} }
#[test]
#[cfg(target_os="android")]
fn test_finish_once() {
let mut prog = run::Process::new("/system/bin/sh", [~"-c",~"false"],
run::ProcessOptions::new());
assert_eq!(prog.finish(), 1);
}
#[test] #[test]
#[cfg(not(target_os="android"))] #[cfg(not(target_os="android"))] // FIXME(#10380)
fn test_finish_twice() { fn test_finish_twice() {
let mut prog = run::Process::new("false", [], run::ProcessOptions::new()); let mut prog = run::Process::new("false", [], run::ProcessOptions::new());
assert_eq!(prog.finish(), 1); assert_eq!(prog.finish(), 1);
assert_eq!(prog.finish(), 1); assert_eq!(prog.finish(), 1);
} }
#[test]
#[cfg(target_os="android")]
fn test_finish_twice() {
let mut prog = run::Process::new("/system/bin/sh", [~"-c",~"false"],
run::ProcessOptions::new());
assert_eq!(prog.finish(), 1);
assert_eq!(prog.finish(), 1);
}
#[test] #[test]
#[cfg(not(target_os="android"))] #[cfg(not(target_os="android"))] // FIXME(#10380)
fn test_finish_with_output_once() { fn test_finish_with_output_once() {
let mut prog = run::Process::new("echo", [~"hello"], run::ProcessOptions::new()); let mut prog = run::Process::new("echo", [~"hello"], run::ProcessOptions::new());
@@ -499,26 +452,9 @@ mod tests {
assert_eq!(error, ~[]); assert_eq!(error, ~[]);
} }
} }
#[test]
#[cfg(target_os="android")]
fn test_finish_with_output_once() {
let mut prog = run::Process::new("/system/bin/sh", [~"-c",~"echo hello"],
run::ProcessOptions::new());
let run::ProcessOutput {status, output, error}
= prog.finish_with_output();
let output_str = str::from_utf8(output);
assert_eq!(status, 0);
assert_eq!(output_str.trim().to_owned(), ~"hello");
// FIXME #7224
if !running_on_valgrind() {
assert_eq!(error, ~[]);
}
}
#[test] #[test]
#[cfg(not(target_os="android"))] #[cfg(not(target_os="android"))] // FIXME(#10380)
fn test_finish_with_output_twice() { fn test_finish_with_output_twice() {
let mut prog = run::Process::new("echo", [~"hello"], run::ProcessOptions::new()); let mut prog = run::Process::new("echo", [~"hello"], run::ProcessOptions::new());
@@ -544,34 +480,6 @@ mod tests {
assert_eq!(error, ~[]); assert_eq!(error, ~[]);
} }
} }
#[test]
#[cfg(target_os="android")]
fn test_finish_with_output_twice() {
let mut prog = run::Process::new("/system/bin/sh", [~"-c",~"echo hello"],
run::ProcessOptions::new());
let run::ProcessOutput {status, output, error}
= prog.finish_with_output();
let output_str = str::from_utf8(output);
assert_eq!(status, 0);
assert_eq!(output_str.trim().to_owned(), ~"hello");
// FIXME #7224
if !running_on_valgrind() {
assert_eq!(error, ~[]);
}
let run::ProcessOutput {status, output, error}
= prog.finish_with_output();
assert_eq!(status, 0);
assert_eq!(output, ~[]);
// FIXME #7224
if !running_on_valgrind() {
assert_eq!(error, ~[]);
}
}
#[cfg(unix,not(target_os="android"))] #[cfg(unix,not(target_os="android"))]
fn run_pwd(dir: Option<&Path>) -> run::Process { fn run_pwd(dir: Option<&Path>) -> run::Process {

View File

@@ -90,6 +90,7 @@ mod test {
#[test] #[test]
#[ignore(cfg(windows))] // FIXME #8818 #[ignore(cfg(windows))] // FIXME #8818
#[ignore(cfg(target_os="android"))] // FIXME(#10379)
fn test_loading_cosine() { fn test_loading_cosine() {
// The math library does not need to be loaded since it is already // The math library does not need to be loaded since it is already
// statically linked in // statically linked in

View File

@@ -8,6 +8,8 @@
// option. This file may not be copied, modified, or distributed // option. This file may not be copied, modified, or distributed
// except according to those terms. // except according to those terms.
// xfail-android: FIXME(#10393)
// xfail-pretty the `let to_child` line gets an extra newline // xfail-pretty the `let to_child` line gets an extra newline
// multi tasking k-nucleotide // multi tasking k-nucleotide

View File

@@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed // option. This file may not be copied, modified, or distributed
// except according to those terms. // except according to those terms.
// xfail-android // xfail-android: FIXME(#10381)
// compile-flags:-Z extra-debug-info // compile-flags:-Z extra-debug-info
// debugger:rbreak zzz // debugger:rbreak zzz

View File

@@ -14,7 +14,7 @@
// about UTF-32 character encoding and will print a rust char as only // about UTF-32 character encoding and will print a rust char as only
// its numerical value. // its numerical value.
// xfail-android // xfail-android: FIXME(#10381)
// compile-flags:-Z extra-debug-info // compile-flags:-Z extra-debug-info
// debugger:rbreak zzz // debugger:rbreak zzz

View File

@@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed // option. This file may not be copied, modified, or distributed
// except according to those terms. // except according to those terms.
// xfail-android // xfail-android: FIXME(#10381)
// Gdb doesn't know about UTF-32 character encoding and will print a rust char as only // Gdb doesn't know about UTF-32 character encoding and will print a rust char as only
// its numerical value. // its numerical value.

View File

@@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed // option. This file may not be copied, modified, or distributed
// except according to those terms. // except according to those terms.
// xfail-android // xfail-android: FIXME(#10381)
// compile-flags:-Z extra-debug-info // compile-flags:-Z extra-debug-info
// debugger:rbreak zzz // debugger:rbreak zzz

View File

@@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed // option. This file may not be copied, modified, or distributed
// except according to those terms. // except according to those terms.
// xfail-android // xfail-android: FIXME(#10381)
// compile-flags:-Z extra-debug-info // compile-flags:-Z extra-debug-info
// debugger:rbreak zzz // debugger:rbreak zzz

View File

@@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed // option. This file may not be copied, modified, or distributed
// except according to those terms. // except according to those terms.
// xfail-android // xfail-android: FIXME(#10381)
#[feature(managed_boxes)]; #[feature(managed_boxes)];

View File

@@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed // option. This file may not be copied, modified, or distributed
// except according to those terms. // except according to those terms.
// xfail-android // xfail-android: FIXME(#10381)
// compile-flags:-Z extra-debug-info // compile-flags:-Z extra-debug-info
// debugger:rbreak zzz // debugger:rbreak zzz

View File

@@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed // option. This file may not be copied, modified, or distributed
// except according to those terms. // except according to those terms.
// xfail-android // xfail-android: FIXME(#10381)
#[feature(managed_boxes)]; #[feature(managed_boxes)];

View File

@@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed // option. This file may not be copied, modified, or distributed
// except according to those terms. // except according to those terms.
// xfail-android // xfail-android: FIXME(#10381)
// compile-flags:-Z extra-debug-info // compile-flags:-Z extra-debug-info
// debugger:rbreak zzz // debugger:rbreak zzz

View File

@@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed // option. This file may not be copied, modified, or distributed
// except according to those terms. // except according to those terms.
// xfail-android // xfail-android: FIXME(#10381)
// compile-flags:-Z extra-debug-info // compile-flags:-Z extra-debug-info
// debugger:rbreak zzz // debugger:rbreak zzz

View File

@@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed // option. This file may not be copied, modified, or distributed
// except according to those terms. // except according to those terms.
// xfail-android // xfail-android: FIXME(#10381)
#[feature(managed_boxes)]; #[feature(managed_boxes)];

View File

@@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed // option. This file may not be copied, modified, or distributed
// except according to those terms. // except according to those terms.
// xfail-android // xfail-android: FIXME(#10381)
// compile-flags:-Z extra-debug-info // compile-flags:-Z extra-debug-info
// debugger:set print pretty off // debugger:set print pretty off

View File

@@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed // option. This file may not be copied, modified, or distributed
// except according to those terms. // except according to those terms.
// xfail-android // xfail-android: FIXME(#10381)
// compile-flags:-Z extra-debug-info // compile-flags:-Z extra-debug-info
// debugger:rbreak zzz // debugger:rbreak zzz

View File

@@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed // option. This file may not be copied, modified, or distributed
// except according to those terms. // except according to those terms.
// xfail-android // xfail-android: FIXME(#10381)
// compile-flags:-Z extra-debug-info // compile-flags:-Z extra-debug-info
// debugger:rbreak zzz // debugger:rbreak zzz

View File

@@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed // option. This file may not be copied, modified, or distributed
// except according to those terms. // except according to those terms.
// xfail-android // xfail-android: FIXME(#10381)
// compile-flags:-Z extra-debug-info // compile-flags:-Z extra-debug-info
// debugger:rbreak zzz // debugger:rbreak zzz

View File

@@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed // option. This file may not be copied, modified, or distributed
// except according to those terms. // except according to those terms.
// xfail-android // xfail-android: FIXME(#10381)
// compile-flags:-Z extra-debug-info // compile-flags:-Z extra-debug-info
// debugger:rbreak zzz // debugger:rbreak zzz

View File

@@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed // option. This file may not be copied, modified, or distributed
// except according to those terms. // except according to those terms.
// xfail-android // xfail-android: FIXME(#10381)
// compile-flags:-Z extra-debug-info // compile-flags:-Z extra-debug-info
// debugger:set print union on // debugger:set print union on

View File

@@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed // option. This file may not be copied, modified, or distributed
// except according to those terms. // except according to those terms.
// xfail-android // xfail-android: FIXME(#10381)
// compile-flags:-Z extra-debug-info // compile-flags:-Z extra-debug-info
// debugger:rbreak zzz // debugger:rbreak zzz

View File

@@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed // option. This file may not be copied, modified, or distributed
// except according to those terms. // except according to those terms.
// xfail-android // xfail-android: FIXME(#10381)
// compile-flags:-Z extra-debug-info // compile-flags:-Z extra-debug-info
// debugger:set print union on // debugger:set print union on

View File

@@ -9,7 +9,7 @@
// except according to those terms. // except according to those terms.
// xfail-win32 // xfail-win32
// xfail-android // xfail-android: FIXME(#10381)
// compile-flags:-Z extra-debug-info // compile-flags:-Z extra-debug-info
// debugger:rbreak zzz // debugger:rbreak zzz

View File

@@ -9,7 +9,7 @@
// except according to those terms. // except according to those terms.
// xfail-win32 // xfail-win32
// xfail-android // xfail-android: FIXME(#10381)
// compile-flags:-Z extra-debug-info // compile-flags:-Z extra-debug-info
// debugger:rbreak zzz // debugger:rbreak zzz

View File

@@ -9,7 +9,7 @@
// except according to those terms. // except according to those terms.
// xfail-win32 // xfail-win32
// xfail-android // xfail-android: FIXME(#10381)
// compile-flags:-Z extra-debug-info // compile-flags:-Z extra-debug-info
// debugger:rbreak zzz // debugger:rbreak zzz

View File

@@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed // option. This file may not be copied, modified, or distributed
// except according to those terms. // except according to those terms.
// xfail-android // xfail-android: FIXME(#10381)
// compile-flags:-Z debug-info // compile-flags:-Z debug-info
// debugger:run // debugger:run

View File

@@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed // option. This file may not be copied, modified, or distributed
// except according to those terms. // except according to those terms.
// xfail-android // xfail-android: FIXME(#10381)
// compile-flags:-Z extra-debug-info // compile-flags:-Z extra-debug-info
// debugger:rbreak zzz // debugger:rbreak zzz

View File

@@ -8,6 +8,8 @@
// option. This file may not be copied, modified, or distributed // option. This file may not be copied, modified, or distributed
// except according to those terms. // except according to those terms.
// xfail-android: FIXME(#10381)
// compile-flags:-Z extra-debug-info // compile-flags:-Z extra-debug-info
// debugger:rbreak zzz // debugger:rbreak zzz
// debugger:run // debugger:run

View File

@@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed // option. This file may not be copied, modified, or distributed
// except according to those terms. // except according to those terms.
// xfail-android // xfail-android: FIXME(#10381)
// compile-flags:-Z extra-debug-info // compile-flags:-Z extra-debug-info
// debugger:rbreak zzz // debugger:rbreak zzz

View File

@@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed // option. This file may not be copied, modified, or distributed
// except according to those terms. // except according to those terms.
// xfail-android // xfail-android: FIXME(#10381)
// compile-flags:-Z extra-debug-info // compile-flags:-Z extra-debug-info
// debugger:rbreak zzz // debugger:rbreak zzz

View File

@@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed // option. This file may not be copied, modified, or distributed
// except according to those terms. // except according to those terms.
// xfail-android // xfail-android: FIXME(#10381)
// compile-flags:-Z extra-debug-info // compile-flags:-Z extra-debug-info
// debugger:rbreak zzz // debugger:rbreak zzz

View File

@@ -9,7 +9,7 @@
// except according to those terms. // except according to those terms.
// xfail-win32 // xfail-win32
// xfail-android // xfail-android: FIXME(#10381)
// compile-flags:-Z extra-debug-info // compile-flags:-Z extra-debug-info
// debugger:rbreak zzz // debugger:rbreak zzz

View File

@@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed // option. This file may not be copied, modified, or distributed
// except according to those terms. // except according to those terms.
// xfail-android // xfail-android: FIXME(#10381)
// compile-flags:-Z extra-debug-info // compile-flags:-Z extra-debug-info
// debugger:rbreak zzz // debugger:rbreak zzz

View File

@@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed // option. This file may not be copied, modified, or distributed
// except according to those terms. // except according to those terms.
// xfail-android // xfail-android: FIXME(#10381)
// compile-flags:-Z extra-debug-info // compile-flags:-Z extra-debug-info
// debugger:rbreak zzz // debugger:rbreak zzz

View File

@@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed // option. This file may not be copied, modified, or distributed
// except according to those terms. // except according to those terms.
// xfail-android // xfail-android: FIXME(#10381)
// compile-flags:-Z extra-debug-info // compile-flags:-Z extra-debug-info
// debugger:rbreak zzz // debugger:rbreak zzz

View File

@@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed // option. This file may not be copied, modified, or distributed
// except according to those terms. // except according to those terms.
// xfail-android // xfail-android: FIXME(#10381)
// compile-flags:-Z extra-debug-info // compile-flags:-Z extra-debug-info
// debugger:rbreak zzz // debugger:rbreak zzz

View File

@@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed // option. This file may not be copied, modified, or distributed
// except according to those terms. // except according to those terms.
// xfail-android // xfail-android: FIXME(#10381)
// compile-flags:-Z extra-debug-info // compile-flags:-Z extra-debug-info
// debugger:rbreak zzz // debugger:rbreak zzz

View File

@@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed // option. This file may not be copied, modified, or distributed
// except according to those terms. // except according to those terms.
// xfail-android // xfail-android: FIXME(#10381)
// compile-flags:-Z extra-debug-info // compile-flags:-Z extra-debug-info
// debugger:rbreak zzz // debugger:rbreak zzz

View File

@@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed // option. This file may not be copied, modified, or distributed
// except according to those terms. // except according to those terms.
// xfail-android // xfail-android: FIXME(#10381)
// compile-flags:-Z extra-debug-info // compile-flags:-Z extra-debug-info
// debugger:rbreak zzz // debugger:rbreak zzz

View File

@@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed // option. This file may not be copied, modified, or distributed
// except according to those terms. // except according to those terms.
// xfail-android // xfail-android: FIXME(#10381)
// compile-flags:-Z extra-debug-info // compile-flags:-Z extra-debug-info
// debugger:rbreak zzz // debugger:rbreak zzz

View File

@@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed // option. This file may not be copied, modified, or distributed
// except according to those terms. // except according to those terms.
// xfail-android // xfail-android: FIXME(#10381)
// compile-flags:-Z extra-debug-info // compile-flags:-Z extra-debug-info
// debugger:rbreak zzz // debugger:rbreak zzz

View File

@@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed // option. This file may not be copied, modified, or distributed
// except according to those terms. // except according to those terms.
// xfail-android // xfail-android: FIXME(#10381)
// compile-flags:-Z extra-debug-info // compile-flags:-Z extra-debug-info
// debugger:rbreak zzz // debugger:rbreak zzz

View File

@@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed // option. This file may not be copied, modified, or distributed
// except according to those terms. // except according to those terms.
// xfail-android // xfail-android: FIXME(#10381)
// compile-flags:-Z extra-debug-info // compile-flags:-Z extra-debug-info
// debugger:set print pretty off // debugger:set print pretty off

View File

@@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed // option. This file may not be copied, modified, or distributed
// except according to those terms. // except according to those terms.
// xfail-android // xfail-android: FIXME(#10381)
#[feature(managed_boxes)]; #[feature(managed_boxes)];

View File

@@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed // option. This file may not be copied, modified, or distributed
// except according to those terms. // except according to those terms.
// xfail-android // xfail-android: FIXME(#10381)
// compile-flags:-Z extra-debug-info // compile-flags:-Z extra-debug-info
// debugger:rbreak zzz // debugger:rbreak zzz

View File

@@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed // option. This file may not be copied, modified, or distributed
// except according to those terms. // except according to those terms.
// xfail-android // xfail-android: FIXME(#10381)
// compile-flags:-Z extra-debug-info // compile-flags:-Z extra-debug-info
// debugger:rbreak zzz // debugger:rbreak zzz

View File

@@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed // option. This file may not be copied, modified, or distributed
// except according to those terms. // except according to those terms.
// xfail-android // xfail-android: FIXME(#10381)
// compile-flags:-Z extra-debug-info // compile-flags:-Z extra-debug-info
// debugger:rbreak zzz // debugger:rbreak zzz

View File

@@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed // option. This file may not be copied, modified, or distributed
// except according to those terms. // except according to those terms.
// xfail-android // xfail-android: FIXME(#10381)
// compile-flags:-Z extra-debug-info // compile-flags:-Z extra-debug-info
// debugger:rbreak zzz // debugger:rbreak zzz

View File

@@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed // option. This file may not be copied, modified, or distributed
// except according to those terms. // except according to those terms.
// xfail-android // xfail-android: FIXME(#10381)
// compile-flags:-Z extra-debug-info // compile-flags:-Z extra-debug-info
// debugger:rbreak zzz // debugger:rbreak zzz

View File

@@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed // option. This file may not be copied, modified, or distributed
// except according to those terms. // except according to those terms.
// xfail-android // xfail-android: FIXME(#10381)
// compile-flags:-Z extra-debug-info // compile-flags:-Z extra-debug-info
// debugger:set print pretty off // debugger:set print pretty off

View File

@@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed // option. This file may not be copied, modified, or distributed
// except according to those terms. // except according to those terms.
// xfail-android // xfail-android: FIXME(#10381)
// compile-flags:-Z extra-debug-info // compile-flags:-Z extra-debug-info
// debugger:set print pretty off // debugger:set print pretty off

View File

@@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed // option. This file may not be copied, modified, or distributed
// except according to those terms. // except according to those terms.
// xfail-android // xfail-android: FIXME(#10381)
// compile-flags:-Z extra-debug-info // compile-flags:-Z extra-debug-info
// debugger:rbreak zzz // debugger:rbreak zzz

View File

@@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed // option. This file may not be copied, modified, or distributed
// except according to those terms. // except according to those terms.
// xfail-android // xfail-android: FIXME(#10381)
// compile-flags:-Z extra-debug-info // compile-flags:-Z extra-debug-info
// debugger:set print union on // debugger:set print union on

View File

@@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed // option. This file may not be copied, modified, or distributed
// except according to those terms. // except according to those terms.
// xfail-android // xfail-android: FIXME(#10381)
// compile-flags:-Z extra-debug-info // compile-flags:-Z extra-debug-info
// debugger:set print pretty off // debugger:set print pretty off

View File

@@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed // option. This file may not be copied, modified, or distributed
// except according to those terms. // except according to those terms.
// xfail-android // xfail-android: FIXME(#10381)
// compile-flags:-Z extra-debug-info // compile-flags:-Z extra-debug-info
// debugger:set print union on // debugger:set print union on

View File

@@ -10,7 +10,7 @@
#[feature(managed_boxes)]; #[feature(managed_boxes)];
// xfail-android // xfail-android: FIXME(#10381)
// compile-flags:-Z extra-debug-info // compile-flags:-Z extra-debug-info
// debugger:run // debugger:run

View File

@@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed // option. This file may not be copied, modified, or distributed
// except according to those terms. // except according to those terms.
// xfail-android // xfail-android: FIXME(#10381)
// compile-flags:-Z extra-debug-info // compile-flags:-Z extra-debug-info
// debugger:set print pretty off // debugger:set print pretty off

View File

@@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed // option. This file may not be copied, modified, or distributed
// except according to those terms. // except according to those terms.
// xfail-android // xfail-android: FIXME(#10381)
// compile-flags:-Z extra-debug-info // compile-flags:-Z extra-debug-info
// debugger:set print pretty off // debugger:set print pretty off

View File

@@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed // option. This file may not be copied, modified, or distributed
// except according to those terms. // except according to those terms.
// xfail-android // xfail-android: FIXME(#10381)
// compile-flags:-Z extra-debug-info // compile-flags:-Z extra-debug-info
// debugger:set print pretty off // debugger:set print pretty off

View File

@@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed // option. This file may not be copied, modified, or distributed
// except according to those terms. // except according to those terms.
// xfail-android // xfail-android: FIXME(#10381)
// compile-flags:-Z extra-debug-info // compile-flags:-Z extra-debug-info
// debugger:set print union on // debugger:set print union on

View File

@@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed // option. This file may not be copied, modified, or distributed
// except according to those terms. // except according to those terms.
// xfail-android // xfail-android: FIXME(#10381)
// compile-flags:-Z extra-debug-info // compile-flags:-Z extra-debug-info
// debugger:rbreak zzz // debugger:rbreak zzz

View File

@@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed // option. This file may not be copied, modified, or distributed
// except according to those terms. // except according to those terms.
// xfail-android // xfail-android: FIXME(#10381)
// compile-flags:-Z extra-debug-info // compile-flags:-Z extra-debug-info
// debugger:rbreak zzz // debugger:rbreak zzz

View File

@@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed // option. This file may not be copied, modified, or distributed
// except according to those terms. // except according to those terms.
// xfail-android // xfail-android: FIXME(#10381)
// compile-flags:-Z extra-debug-info // compile-flags:-Z extra-debug-info
// debugger:set print pretty off // debugger:set print pretty off

View File

@@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed // option. This file may not be copied, modified, or distributed
// except according to those terms. // except according to those terms.
// xfail-android // xfail-android: FIXME(#10381)
// compile-flags:-Z extra-debug-info // compile-flags:-Z extra-debug-info
// debugger:set print pretty off // debugger:set print pretty off

View File

@@ -8,6 +8,8 @@
// option. This file may not be copied, modified, or distributed // option. This file may not be copied, modified, or distributed
// except according to those terms. // except according to those terms.
// xfail-android: FIXME(#10379)
// aux-build:linkage-visibility.rs // aux-build:linkage-visibility.rs
// xfail-fast windows doesn't like aux-build // xfail-fast windows doesn't like aux-build

View File

@@ -28,6 +28,7 @@ use std::rt::io::process::{Process, ProcessConfig, CreatePipe, Ignored};
use std::str; use std::str;
#[test] #[test]
// FIXME(#10380)
#[cfg(unix, not(target_os="android"))] #[cfg(unix, not(target_os="android"))]
fn smoke() { fn smoke() {
let io = ~[]; let io = ~[];
@@ -45,6 +46,7 @@ fn smoke() {
} }
#[test] #[test]
// FIXME(#10380)
#[cfg(unix, not(target_os="android"))] #[cfg(unix, not(target_os="android"))]
fn smoke_failure() { fn smoke_failure() {
let io = ~[]; let io = ~[];
@@ -62,6 +64,7 @@ fn smoke_failure() {
} }
#[test] #[test]
// FIXME(#10380)
#[cfg(unix, not(target_os="android"))] #[cfg(unix, not(target_os="android"))]
fn exit_reported_right() { fn exit_reported_right() {
let io = ~[]; let io = ~[];
@@ -102,6 +105,7 @@ fn run_output(args: ProcessConfig) -> ~str {
} }
#[test] #[test]
// FIXME(#10380)
#[cfg(unix, not(target_os="android"))] #[cfg(unix, not(target_os="android"))]
fn stdout_works() { fn stdout_works() {
let io = ~[Ignored, CreatePipe(false, true)]; let io = ~[Ignored, CreatePipe(false, true)];
@@ -116,6 +120,7 @@ fn stdout_works() {
} }
#[test] #[test]
// FIXME(#10380)
#[cfg(unix, not(target_os="android"))] #[cfg(unix, not(target_os="android"))]
fn set_cwd_works() { fn set_cwd_works() {
let io = ~[Ignored, CreatePipe(false, true)]; let io = ~[Ignored, CreatePipe(false, true)];
@@ -131,6 +136,7 @@ fn set_cwd_works() {
} }
#[test] #[test]
// FIXME(#10380)
#[cfg(unix, not(target_os="android"))] #[cfg(unix, not(target_os="android"))]
fn stdin_works() { fn stdin_works() {
let io = ~[CreatePipe(true, false), let io = ~[CreatePipe(true, false),