about summary refs log tree commit diff
diff options
context:
space:
mode:
authorYoung-il Choi <duddlf.choi@samsung.com>2013-11-09 16:18:41 +0900
committerYoung-il Choi <duddlf.choi@samsung.com>2013-11-10 08:18:12 +0900
commite3f9f454390fe09643548070f6bd558676f9f32a (patch)
tree4192e191abc5bf4313491e4c685efbf8c2eaa22d
parentca55317e90f498b818a0e0fc5ad58354eb416e83 (diff)
downloadrust-e3f9f454390fe09643548070f6bd558676f9f32a.tar.gz
rust-e3f9f454390fe09643548070f6bd558676f9f32a.zip
disable tests on android since tcp/ip permission cannot be acquired without help of apk
-rw-r--r--src/librustuv/addrinfo.rs1
-rw-r--r--src/libstd/rt/io/net/addrinfo.rs1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/librustuv/addrinfo.rs b/src/librustuv/addrinfo.rs
index 09736749997..7b78d5f032b 100644
--- a/src/librustuv/addrinfo.rs
+++ b/src/librustuv/addrinfo.rs
@@ -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();
diff --git a/src/libstd/rt/io/net/addrinfo.rs b/src/libstd/rt/io/net/addrinfo.rs
index 27cf9781c9c..684a6429775 100644
--- a/src/libstd/rt/io/net/addrinfo.rs
+++ b/src/libstd/rt/io/net/addrinfo.rs
@@ -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;