Skip to content

Commit 2d7b96a

Browse files
committed
Fix compiling compiletest. rs=fire
1 parent 5b2b13b commit 2d7b96a

File tree

6 files changed

+29
-1
lines changed

6 files changed

+29
-1
lines changed

src/compiletest/common.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11+
use cmp;
12+
1113
enum mode { mode_compile_fail, mode_run_fail, mode_run_pass, mode_pretty, }
1214

1315
impl mode : cmp::Eq {

src/compiletest/errors.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@
99
// except according to those terms.
1010

1111
use common::config;
12+
use io;
1213
use io::ReaderUtil;
14+
use str;
1315

1416
export load_errors;
1517
export expected_error;

src/compiletest/header.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,12 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11+
use common;
1112
use common::config;
13+
use io;
1214
use io::ReaderUtil;
15+
use os;
16+
use str;
1317

1418
export test_props;
1519
export load_props;

src/compiletest/procsrv.rs

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,16 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
use run::spawn_process;
11+
use io;
1212
use io::{ReaderUtil, WriterUtil};
13+
use libc;
1314
use libc::{c_int, pid_t};
15+
use os;
16+
use run;
17+
use run::spawn_process;
18+
use pipes;
19+
use str;
20+
use task;
1421

1522
export run;
1623

src/compiletest/runtest.rs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,25 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11+
use io;
1112
use io::WriterUtil;
13+
use os;
14+
use str;
15+
use uint;
16+
use vec;
1217

18+
use common;
1319
use common::mode_run_pass;
1420
use common::mode_run_fail;
1521
use common::mode_compile_fail;
1622
use common::mode_pretty;
1723
use common::config;
24+
use errors;
25+
use header;
1826
use header::load_props;
1927
use header::test_props;
28+
use procsrv;
29+
use util;
2030
use util::logv;
2131

2232
export run;

src/compiletest/util.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,11 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11+
use io;
12+
use os;
1113
use os::getenv;
1214

15+
use common;
1316
use common::config;
1417

1518
fn make_new_path(path: ~str) -> ~str {

0 commit comments

Comments
 (0)