about summary refs log tree commit diff
path: root/src/libstd/sys/unix/ext
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2016-09-07 05:34:15 +0000
committerBrian Anderson <banderson@mozilla.com>2016-09-30 14:02:48 -0700
commit9c4a01ee9eea6fc50252f08afbf98a91270e9d5e (patch)
tree92464da1ce31eb25756cbc98938a5c3dff5c7462 /src/libstd/sys/unix/ext
parentfcd3279f36214e6915a3b14074f154da3c7cd88a (diff)
downloadrust-9c4a01ee9eea6fc50252f08afbf98a91270e9d5e.tar.gz
rust-9c4a01ee9eea6fc50252f08afbf98a91270e9d5e.zip
Ignore lots and lots of std tests on emscripten
Diffstat (limited to 'src/libstd/sys/unix/ext')
-rw-r--r--src/libstd/sys/unix/ext/net.rs13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/libstd/sys/unix/ext/net.rs b/src/libstd/sys/unix/ext/net.rs
index 3f93fce1935..8224696db2f 100644
--- a/src/libstd/sys/unix/ext/net.rs
+++ b/src/libstd/sys/unix/ext/net.rs
@@ -806,6 +806,7 @@ mod test {
     }
 
     #[test]
+    #[cfg_attr(target_os = "emscripten", ignore)]
     fn basic() {
         let dir = tmpdir();
         let socket_path = dir.path().join("sock");
@@ -834,6 +835,7 @@ mod test {
     }
 
     #[test]
+    #[cfg_attr(target_os = "emscripten", ignore)]
     fn pair() {
         let msg1 = b"hello";
         let msg2 = b"world!";
@@ -857,6 +859,7 @@ mod test {
     }
 
     #[test]
+    #[cfg_attr(target_os = "emscripten", ignore)]
     fn try_clone() {
         let dir = tmpdir();
         let socket_path = dir.path().join("sock");
@@ -883,6 +886,7 @@ mod test {
     }
 
     #[test]
+    #[cfg_attr(target_os = "emscripten", ignore)]
     fn iter() {
         let dir = tmpdir();
         let socket_path = dir.path().join("sock");
@@ -905,6 +909,7 @@ mod test {
     }
 
     #[test]
+    #[cfg_attr(target_os = "emscripten", ignore)]
     fn long_path() {
         let dir = tmpdir();
         let socket_path = dir.path()
@@ -930,6 +935,7 @@ mod test {
     }
 
     #[test]
+    #[cfg_attr(target_os = "emscripten", ignore)]
     fn timeouts() {
         let dir = tmpdir();
         let socket_path = dir.path().join("sock");
@@ -957,6 +963,7 @@ mod test {
     }
 
     #[test]
+    #[cfg_attr(target_os = "emscripten", ignore)]
     fn test_read_timeout() {
         let dir = tmpdir();
         let socket_path = dir.path().join("sock");
@@ -972,6 +979,7 @@ mod test {
     }
 
     #[test]
+    #[cfg_attr(target_os = "emscripten", ignore)]
     fn test_read_with_timeout() {
         let dir = tmpdir();
         let socket_path = dir.path().join("sock");
@@ -993,6 +1001,7 @@ mod test {
     }
 
     #[test]
+    #[cfg_attr(target_os = "emscripten", ignore)]
     fn test_unix_datagram() {
         let dir = tmpdir();
         let path1 = dir.path().join("sock1");
@@ -1009,6 +1018,7 @@ mod test {
     }
 
     #[test]
+    #[cfg_attr(target_os = "emscripten", ignore)]
     fn test_unnamed_unix_datagram() {
         let dir = tmpdir();
         let path1 = dir.path().join("sock1");
@@ -1026,6 +1036,7 @@ mod test {
     }
 
     #[test]
+    #[cfg_attr(target_os = "emscripten", ignore)]
     fn test_connect_unix_datagram() {
         let dir = tmpdir();
         let path1 = dir.path().join("sock1");
@@ -1052,6 +1063,7 @@ mod test {
     }
 
     #[test]
+    #[cfg_attr(target_os = "emscripten", ignore)]
     fn test_unix_datagram_recv() {
         let dir = tmpdir();
         let path1 = dir.path().join("sock1");
@@ -1069,6 +1081,7 @@ mod test {
     }
 
     #[test]
+    #[cfg_attr(target_os = "emscripten", ignore)]
     fn datagram_pair() {
         let msg1 = b"hello";
         let msg2 = b"world!";