Ignore various entire test modules on emscripten
This commit is contained in:
@@ -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());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user