diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2015-08-04 09:03:01 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2015-08-04 09:04:53 -0700 |
| commit | 4ac7e87c7ca53baac4c4fec716d8e89977099cf3 (patch) | |
| tree | 8e3cb6e23507f3c7dfb5a1d76a0ae0b15010a9aa /src/libstd/sys | |
| parent | 38517944f0360c139dc9db89164361a909c0a180 (diff) | |
| download | rust-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/sys')
| -rw-r--r-- | src/libstd/sys/unix/process.rs | 4 |
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. |
