about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2015-08-04 09:03:01 -0700
committerAlex Crichton <alex@alexcrichton.com>2015-08-04 09:04:53 -0700
commit4ac7e87c7ca53baac4c4fec716d8e89977099cf3 (patch)
tree8e3cb6e23507f3c7dfb5a1d76a0ae0b15010a9aa /src/libstd
parent38517944f0360c139dc9db89164361a909c0a180 (diff)
downloadrust-4ac7e87c7ca53baac4c4fec716d8e89977099cf3.tar.gz
rust-4ac7e87c7ca53baac4c4fec716d8e89977099cf3.zip
std: Ignore test_process_mask on OSX
The investigation into #14232 discovered that it's possible that signal delivery
to a newly spawned process is racy on OSX. This test has been failing spuriously
on the OSX bots for some time now, so ignore it as we don't currently know a
solution and it looks like it may be out of our control.
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/sys/unix/process.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libstd/sys/unix/process.rs b/src/libstd/sys/unix/process.rs
index cc78dd4e5ef..fb8d40d613a 100644
--- a/src/libstd/sys/unix/process.rs
+++ b/src/libstd/sys/unix/process.rs
@@ -463,7 +463,11 @@ mod tests {
         return 0;
     }
 
+    // See #14232 for more information, but it appears that signal delivery to a
+    // newly spawned process may just be raced in the OSX, so to prevent this
+    // test from being flaky we ignore it on OSX.
     #[test]
+    #[cfg_attr(target_os = "macos", ignore)]
     fn test_process_mask() {
         unsafe {
             // Test to make sure that a signal mask does not get inherited.