about summary refs log tree commit diff
path: root/src/compiletest
diff options
context:
space:
mode:
Diffstat (limited to 'src/compiletest')
-rw-r--r--src/compiletest/runtest.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiletest/runtest.rs b/src/compiletest/runtest.rs
index d7fa4f209d4..29f7a771e86 100644
--- a/src/compiletest/runtest.rs
+++ b/src/compiletest/runtest.rs
@@ -217,7 +217,7 @@ fn run_pretty_test(config: &Config, props: &TestProps, testfile: &Path) {
                     pretty_type: &str) -> ProcRes {
         compose_and_run(config, testfile,
                         make_pp_args(config, props, testfile, pretty_type.to_owned()),
-                        Vec::new(), config.compile_lib_path, Some(src))
+                        props.exec_env.clone(), config.compile_lib_path, Some(src))
     }
 
     fn make_pp_args(config: &Config,