Fix compiling compiletest. rs=fire
This commit is contained in:
parent
5b2b13bff8
commit
2d7b96ab72
6 changed files with 29 additions and 1 deletions
|
@ -8,6 +8,8 @@
|
||||||
// option. This file may not be copied, modified, or distributed
|
// option. This file may not be copied, modified, or distributed
|
||||||
// except according to those terms.
|
// except according to those terms.
|
||||||
|
|
||||||
|
use cmp;
|
||||||
|
|
||||||
enum mode { mode_compile_fail, mode_run_fail, mode_run_pass, mode_pretty, }
|
enum mode { mode_compile_fail, mode_run_fail, mode_run_pass, mode_pretty, }
|
||||||
|
|
||||||
impl mode : cmp::Eq {
|
impl mode : cmp::Eq {
|
||||||
|
|
|
@ -9,7 +9,9 @@
|
||||||
// except according to those terms.
|
// except according to those terms.
|
||||||
|
|
||||||
use common::config;
|
use common::config;
|
||||||
|
use io;
|
||||||
use io::ReaderUtil;
|
use io::ReaderUtil;
|
||||||
|
use str;
|
||||||
|
|
||||||
export load_errors;
|
export load_errors;
|
||||||
export expected_error;
|
export expected_error;
|
||||||
|
|
|
@ -8,8 +8,12 @@
|
||||||
// option. This file may not be copied, modified, or distributed
|
// option. This file may not be copied, modified, or distributed
|
||||||
// except according to those terms.
|
// except according to those terms.
|
||||||
|
|
||||||
|
use common;
|
||||||
use common::config;
|
use common::config;
|
||||||
|
use io;
|
||||||
use io::ReaderUtil;
|
use io::ReaderUtil;
|
||||||
|
use os;
|
||||||
|
use str;
|
||||||
|
|
||||||
export test_props;
|
export test_props;
|
||||||
export load_props;
|
export load_props;
|
||||||
|
|
|
@ -8,9 +8,16 @@
|
||||||
// option. This file may not be copied, modified, or distributed
|
// option. This file may not be copied, modified, or distributed
|
||||||
// except according to those terms.
|
// except according to those terms.
|
||||||
|
|
||||||
use run::spawn_process;
|
use io;
|
||||||
use io::{ReaderUtil, WriterUtil};
|
use io::{ReaderUtil, WriterUtil};
|
||||||
|
use libc;
|
||||||
use libc::{c_int, pid_t};
|
use libc::{c_int, pid_t};
|
||||||
|
use os;
|
||||||
|
use run;
|
||||||
|
use run::spawn_process;
|
||||||
|
use pipes;
|
||||||
|
use str;
|
||||||
|
use task;
|
||||||
|
|
||||||
export run;
|
export run;
|
||||||
|
|
||||||
|
|
|
@ -8,15 +8,25 @@
|
||||||
// option. This file may not be copied, modified, or distributed
|
// option. This file may not be copied, modified, or distributed
|
||||||
// except according to those terms.
|
// except according to those terms.
|
||||||
|
|
||||||
|
use io;
|
||||||
use io::WriterUtil;
|
use io::WriterUtil;
|
||||||
|
use os;
|
||||||
|
use str;
|
||||||
|
use uint;
|
||||||
|
use vec;
|
||||||
|
|
||||||
|
use common;
|
||||||
use common::mode_run_pass;
|
use common::mode_run_pass;
|
||||||
use common::mode_run_fail;
|
use common::mode_run_fail;
|
||||||
use common::mode_compile_fail;
|
use common::mode_compile_fail;
|
||||||
use common::mode_pretty;
|
use common::mode_pretty;
|
||||||
use common::config;
|
use common::config;
|
||||||
|
use errors;
|
||||||
|
use header;
|
||||||
use header::load_props;
|
use header::load_props;
|
||||||
use header::test_props;
|
use header::test_props;
|
||||||
|
use procsrv;
|
||||||
|
use util;
|
||||||
use util::logv;
|
use util::logv;
|
||||||
|
|
||||||
export run;
|
export run;
|
||||||
|
|
|
@ -8,8 +8,11 @@
|
||||||
// option. This file may not be copied, modified, or distributed
|
// option. This file may not be copied, modified, or distributed
|
||||||
// except according to those terms.
|
// except according to those terms.
|
||||||
|
|
||||||
|
use io;
|
||||||
|
use os;
|
||||||
use os::getenv;
|
use os::getenv;
|
||||||
|
|
||||||
|
use common;
|
||||||
use common::config;
|
use common::config;
|
||||||
|
|
||||||
fn make_new_path(path: ~str) -> ~str {
|
fn make_new_path(path: ~str) -> ~str {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue