diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2015-07-27 16:10:59 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2015-07-27 16:21:15 -0700 |
| commit | cf1ff56f3c8a7a55fa38bcdda3907147d25382a2 (patch) | |
| tree | 29daf941fb2f83ac179a8700aa4d73487812ba0e /src/libstd/process.rs | |
| parent | 3e6b03c2d87a1f54bfde2ea82b1f85aa4df04909 (diff) | |
| download | rust-cf1ff56f3c8a7a55fa38bcdda3907147d25382a2.tar.gz rust-cf1ff56f3c8a7a55fa38bcdda3907147d25382a2.zip | |
std: Remove msvc/valgrind headers
These aren't really used for anything any more, so there doesn't seem to be much reason to leave them around in the `rt` directory. There was some limiting of threads spawned or tests when run under valgrind, but very little is run under valgrind nowadays so there's also no real use keeping these around.
Diffstat (limited to 'src/libstd/process.rs')
| -rw-r--r-- | src/libstd/process.rs | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/src/libstd/process.rs b/src/libstd/process.rs index 3471805b2bc..269a1638b0a 100644 --- a/src/libstd/process.rs +++ b/src/libstd/process.rs @@ -591,7 +591,6 @@ mod tests { use io::prelude::*; use io::ErrorKind; - use rt::running_on_valgrind; use str; use super::{Command, Output, Stdio}; @@ -737,10 +736,7 @@ mod tests { assert!(status.success()); assert_eq!(output_str.trim().to_string(), "hello"); - // FIXME #7224 - if !running_on_valgrind() { - assert_eq!(stderr, Vec::new()); - } + assert_eq!(stderr, Vec::new()); } #[cfg(not(target_os="android"))] @@ -779,10 +775,7 @@ mod tests { assert!(status.success()); assert_eq!(output_str.trim().to_string(), "hello"); - // FIXME #7224 - if !running_on_valgrind() { - assert_eq!(stderr, Vec::new()); - } + assert_eq!(stderr, Vec::new()); } #[cfg(all(unix, not(target_os="android")))] @@ -807,7 +800,6 @@ mod tests { #[test] fn test_inherit_env() { use std::env; - if running_on_valgrind() { return; } let result = env_cmd().output().unwrap(); let output = String::from_utf8(result.stdout).unwrap(); @@ -824,7 +816,6 @@ mod tests { #[test] fn test_inherit_env() { use std::env; - if running_on_valgrind() { return; } let mut result = env_cmd().output().unwrap(); let output = String::from_utf8(result.stdout).unwrap(); |
