Move some test setup from runtest to compiletest

This commit is contained in:
Brian Anderson 2011-08-17 12:15:00 -07:00
parent 9e020b8b8f
commit deef212bf7
2 changed files with 2 additions and 1 deletions

View File

@ -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,

View File

@ -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");