about summary refs log tree commit diff
path: root/src/comp/driver
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2011-07-06 16:28:07 -0700
committerBrian Anderson <banderson@mozilla.com>2011-07-06 18:26:22 -0700
commitcf4c2ac0bee9a23a5f3ec230c6ea54fb2281dbcb (patch)
treed8f55b1efc15d0d4ec80d16d412028b38870cb89 /src/comp/driver
parent6ca81b34079f6529ae385479d74496187c8063c2 (diff)
downloadrust-cf4c2ac0bee9a23a5f3ec230c6ea54fb2281dbcb.tar.gz
rust-cf4c2ac0bee9a23a5f3ec230c6ea54fb2281dbcb.zip
Generate a main fn for test running. Issue #428
Diffstat (limited to 'src/comp/driver')
-rw-r--r--src/comp/driver/rustc.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/comp/driver/rustc.rs b/src/comp/driver/rustc.rs
index a39348fe3c8..992d052839f 100644
--- a/src/comp/driver/rustc.rs
+++ b/src/comp/driver/rustc.rs
@@ -107,7 +107,7 @@ fn compile_input(session::session sess, ast::crate_cfg cfg, str input,
                  bind front::config::strip_unconfigured_items(crate));
     if (sess.get_opts().test) {
         crate = time(time_passes, "building test harness",
-                     bind front::test::modify_for_testing(sess, crate));
+                     bind front::test::modify_for_testing(crate));
     }
     auto ast_map = time(time_passes, "ast indexing",
                         bind middle::ast_map::map_crate(*crate));