diff --git a/src/test/compiletest/compiletest.rs b/src/test/compiletest/compiletest.rs index 141649ff0edf..9f2ba8f68cfd 100644 --- a/src/test/compiletest/compiletest.rs +++ b/src/test/compiletest/compiletest.rs @@ -227,6 +227,8 @@ fn run_test_task(compile_lib_path: str, run_lib_path: str, rustc_path: str, opt_rustcflags: str, verbose: bool, procsrv_chan: procsrv::reqchan, testfile: -[u8]) { + test::configure_test_task(); + let config = {compile_lib_path: compile_lib_path, run_lib_path: run_lib_path, diff --git a/src/test/compiletest/runtest.rs b/src/test/compiletest/runtest.rs index 9fd344c4a377..c56ec6970efe 100644 --- a/src/test/compiletest/runtest.rs +++ b/src/test/compiletest/runtest.rs @@ -20,7 +20,6 @@ export run; fn run(cx: &cx, _testfile: -[u8]) { let testfile = str::unsafe_from_bytes(_testfile); - test::configure_test_task(); if (cx.config.verbose) { // We're going to be dumping a lot of info. Start on a new line. io::stdout().write_str("\n\n");