disable tests on android since tcp/ip permission cannot be acquired without help of apk

This commit is contained in:
Young-il Choi 2013-11-09 16:18:41 +09:00
parent ca55317e90
commit e3f9f45439
2 changed files with 2 additions and 0 deletions

View file

@ -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();

View file

@ -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;