Skip to content

Commit

Permalink
disable tests on android since tcp/ip permission cannot be acquired w…
Browse files Browse the repository at this point in the history
…ithout help of apk
  • Loading branch information
yichoi committed Nov 9, 2013
1 parent ca55317 commit e3f9f45
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/librustuv/addrinfo.rs
Expand Up @@ -251,6 +251,7 @@ mod test {
use super::*;

#[test]
#[ignore(cfg(target_os="android"))] // cannot give tcp/ip permission without help of apk
fn getaddrinfo_test() {
let mut loop_ = Loop::new();
let mut req = GetAddrInfoRequest::new();
Expand Down
1 change: 1 addition & 0 deletions src/libstd/rt/io/net/addrinfo.rs
Expand Up @@ -114,6 +114,7 @@ mod test {
use super::*;

#[test]
#[ignore(cfg(target_os="android"))] // cannot give tcp/ip permission without help of apk
fn dns_smoke_test() {
let ipaddrs = get_host_addresses("localhost").unwrap();
let mut found_local = false;
Expand Down

0 comments on commit e3f9f45

Please sign in to comment.