Move some test setup from runtest to compiletest
This commit is contained in:
parent
9e020b8b8f
commit
deef212bf7
@ -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,
|
||||
|
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user