Skip to content

Commit deef212

Browse files
committed
Move some test setup from runtest to compiletest
1 parent 9e020b8 commit deef212

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/test/compiletest/compiletest.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,8 @@ fn run_test_task(compile_lib_path: str, run_lib_path: str, rustc_path: str,
227227
opt_rustcflags: str, verbose: bool,
228228
procsrv_chan: procsrv::reqchan, testfile: -[u8]) {
229229

230+
test::configure_test_task();
231+
230232
let config =
231233
{compile_lib_path: compile_lib_path,
232234
run_lib_path: run_lib_path,

src/test/compiletest/runtest.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ export run;
2020

2121
fn run(cx: &cx, _testfile: -[u8]) {
2222
let testfile = str::unsafe_from_bytes(_testfile);
23-
test::configure_test_task();
2423
if (cx.config.verbose) {
2524
// We're going to be dumping a lot of info. Start on a new line.
2625
io::stdout().write_str("\n\n");

0 commit comments

Comments
 (0)