Ignore various entire test modules on emscripten

This commit is contained in:
Brian Anderson
2016-09-22 20:04:48 +00:00
parent 525a798ca6
commit 096670ca41
12 changed files with 11 additions and 125 deletions

View File

@@ -533,7 +533,6 @@ mod tests {
}
#[test]
#[cfg_attr(target_os = "emscripten", ignore)]
fn to_socket_addr_str_u16() {
let a = sa4(Ipv4Addr::new(77, 88, 21, 11), 24352);
assert_eq!(Ok(vec![a]), tsa(("77.88.21.11", 24352)));
@@ -546,7 +545,6 @@ mod tests {
}
#[test]
#[cfg_attr(target_os = "emscripten", ignore)]
fn to_socket_addr_str() {
let a = sa4(Ipv4Addr::new(77, 88, 21, 11), 24352);
assert_eq!(Ok(vec![a]), tsa("77.88.21.11:24352"));
@@ -561,7 +559,6 @@ mod tests {
// FIXME: figure out why this fails on openbsd and bitrig and fix it
#[test]
#[cfg(not(any(windows, target_os = "openbsd", target_os = "bitrig")))]
#[cfg_attr(target_os = "emscripten", ignore)]
fn to_socket_addr_str_bad() {
assert!(tsa("1200::AB00:1234::2552:7777:1313:34300").is_err());
}