mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-28 09:44:08 +00:00
disable tests on android since tcp/ip permission cannot be acquired without help of apk
This commit is contained in:
parent
ca55317e90
commit
e3f9f45439
@ -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();
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user