about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorJames Miller <bladeon@gmail.com>2013-06-20 22:43:21 +1200
committerJames Miller <bladeon@gmail.com>2013-06-20 22:43:21 +1200
commit3acdbfd2c843ff2be79652df34a2a1959d18685d (patch)
treee82d3707752401aded8e32e68fdc09017a612bf2 /src
parentf5036c24df72f4c9fefe1d011708dfdad9d31c67 (diff)
downloadrust-3acdbfd2c843ff2be79652df34a2a1959d18685d.tar.gz
rust-3acdbfd2c843ff2be79652df34a2a1959d18685d.zip
ignore inherited environment test under valgrind r=snapshot
Diffstat (limited to 'src')
-rw-r--r--src/libstd/run.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libstd/run.rs b/src/libstd/run.rs
index 7a96bf35218..060de3f4d5d 100644
--- a/src/libstd/run.rs
+++ b/src/libstd/run.rs
@@ -1160,6 +1160,7 @@ mod tests {
 
     #[test]
     fn test_inherit_env() {
+        if running_on_valgrind() { return; }
 
         let mut prog = run_env(None);
         let output = str::from_bytes(prog.finish_with_output().output);