about summary refs log tree commit diff
diff options
context:
space:
mode:
authorErick Tryzelaar <erick.tryzelaar@gmail.com>2012-12-28 11:50:27 -0500
committerErick Tryzelaar <erick.tryzelaar@gmail.com>2012-12-28 11:50:27 -0500
commit2d7b96ab72656c3f3e5a2d9b05ddcddbd1b2b2dd (patch)
tree3f592a793c81201efe79b459eb20183cabc9461d
parent5b2b13bff81d341f243a9a902d8779ef82e2d7fd (diff)
downloadrust-2d7b96ab72656c3f3e5a2d9b05ddcddbd1b2b2dd.tar.gz
rust-2d7b96ab72656c3f3e5a2d9b05ddcddbd1b2b2dd.zip
Fix compiling compiletest. rs=fire
-rw-r--r--src/compiletest/common.rs2
-rw-r--r--src/compiletest/errors.rs2
-rw-r--r--src/compiletest/header.rs4
-rw-r--r--src/compiletest/procsrv.rs9
-rw-r--r--src/compiletest/runtest.rs10
-rw-r--r--src/compiletest/util.rs3
6 files changed, 29 insertions, 1 deletions
diff --git a/src/compiletest/common.rs b/src/compiletest/common.rs
index 20b7e32d0c9..136f40c9c20 100644
--- a/src/compiletest/common.rs
+++ b/src/compiletest/common.rs
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+use cmp;
+
 enum mode { mode_compile_fail, mode_run_fail, mode_run_pass, mode_pretty, }
 
 impl mode : cmp::Eq {
diff --git a/src/compiletest/errors.rs b/src/compiletest/errors.rs
index f1b0745a196..62961f6c6e4 100644
--- a/src/compiletest/errors.rs
+++ b/src/compiletest/errors.rs
@@ -9,7 +9,9 @@
 // except according to those terms.
 
 use common::config;
+use io;
 use io::ReaderUtil;
+use str;
 
 export load_errors;
 export expected_error;
diff --git a/src/compiletest/header.rs b/src/compiletest/header.rs
index 3e25c195021..49753360279 100644
--- a/src/compiletest/header.rs
+++ b/src/compiletest/header.rs
@@ -8,8 +8,12 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+use common;
 use common::config;
+use io;
 use io::ReaderUtil;
+use os;
+use str;
 
 export test_props;
 export load_props;
diff --git a/src/compiletest/procsrv.rs b/src/compiletest/procsrv.rs
index 23f9e819bc4..666deeca191 100644
--- a/src/compiletest/procsrv.rs
+++ b/src/compiletest/procsrv.rs
@@ -8,9 +8,16 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
-use run::spawn_process;
+use io;
 use io::{ReaderUtil, WriterUtil};
+use libc;
 use libc::{c_int, pid_t};
+use os;
+use run;
+use run::spawn_process;
+use pipes;
+use str;
+use task;
 
 export run;
 
diff --git a/src/compiletest/runtest.rs b/src/compiletest/runtest.rs
index 4cf36f06aac..357d3c6cfb4 100644
--- a/src/compiletest/runtest.rs
+++ b/src/compiletest/runtest.rs
@@ -8,15 +8,25 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+use io;
 use io::WriterUtil;
+use os;
+use str;
+use uint;
+use vec;
 
+use common;
 use common::mode_run_pass;
 use common::mode_run_fail;
 use common::mode_compile_fail;
 use common::mode_pretty;
 use common::config;
+use errors;
+use header;
 use header::load_props;
 use header::test_props;
+use procsrv;
+use util;
 use util::logv;
 
 export run;
diff --git a/src/compiletest/util.rs b/src/compiletest/util.rs
index 68ca1489e68..fe3bf4672c7 100644
--- a/src/compiletest/util.rs
+++ b/src/compiletest/util.rs
@@ -8,8 +8,11 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+use io;
+use os;
 use os::getenv;
 
+use common;
 use common::config;
 
 fn make_new_path(path: ~str) -> ~str {