1
Fork 0

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

@ -786,7 +786,7 @@ impl IntoRawFd for UnixDatagram {
}
}
#[cfg(test)]
#[cfg(all(test, not(target_os = "emscripten")))]
mod test {
use thread;
use io;
@ -806,7 +806,6 @@ mod test {
}
#[test]
#[cfg_attr(target_os = "emscripten", ignore)]
fn basic() {
let dir = tmpdir();
let socket_path = dir.path().join("sock");
@ -835,7 +834,6 @@ mod test {
}
#[test]
#[cfg_attr(target_os = "emscripten", ignore)]
fn pair() {
let msg1 = b"hello";
let msg2 = b"world!";
@ -859,7 +857,6 @@ mod test {
}
#[test]
#[cfg_attr(target_os = "emscripten", ignore)]
fn try_clone() {
let dir = tmpdir();
let socket_path = dir.path().join("sock");
@ -886,7 +883,6 @@ mod test {
}
#[test]
#[cfg_attr(target_os = "emscripten", ignore)]
fn iter() {
let dir = tmpdir();
let socket_path = dir.path().join("sock");
@ -909,7 +905,6 @@ mod test {
}
#[test]
#[cfg_attr(target_os = "emscripten", ignore)]
fn long_path() {
let dir = tmpdir();
let socket_path = dir.path()
@ -935,7 +930,6 @@ mod test {
}
#[test]
#[cfg_attr(target_os = "emscripten", ignore)]
fn timeouts() {
let dir = tmpdir();
let socket_path = dir.path().join("sock");
@ -963,7 +957,6 @@ mod test {
}
#[test]
#[cfg_attr(target_os = "emscripten", ignore)]
fn test_read_timeout() {
let dir = tmpdir();
let socket_path = dir.path().join("sock");
@ -979,7 +972,6 @@ mod test {
}
#[test]
#[cfg_attr(target_os = "emscripten", ignore)]
fn test_read_with_timeout() {
let dir = tmpdir();
let socket_path = dir.path().join("sock");
@ -1001,7 +993,6 @@ mod test {
}
#[test]
#[cfg_attr(target_os = "emscripten", ignore)]
fn test_unix_datagram() {
let dir = tmpdir();
let path1 = dir.path().join("sock1");
@ -1018,7 +1009,6 @@ mod test {
}
#[test]
#[cfg_attr(target_os = "emscripten", ignore)]
fn test_unnamed_unix_datagram() {
let dir = tmpdir();
let path1 = dir.path().join("sock1");
@ -1036,7 +1026,6 @@ mod test {
}
#[test]
#[cfg_attr(target_os = "emscripten", ignore)]
fn test_connect_unix_datagram() {
let dir = tmpdir();
let path1 = dir.path().join("sock1");
@ -1063,7 +1052,6 @@ mod test {
}
#[test]
#[cfg_attr(target_os = "emscripten", ignore)]
fn test_unix_datagram_recv() {
let dir = tmpdir();
let path1 = dir.path().join("sock1");
@ -1081,7 +1069,6 @@ mod test {
}
#[test]
#[cfg_attr(target_os = "emscripten", ignore)]
fn datagram_pair() {
let msg1 = b"hello";
let msg2 = b"world!";