Isolate the compiletest dependencies

This commit is contained in:
David Tolnay
2017-01-27 14:53:21 -08:00
parent 91f628727b
commit dd13fd3a34
5 changed files with 12 additions and 3 deletions
@@ -6,7 +6,7 @@ fn run_mode(mode: &'static str) {
let mut config = compiletest::default_config();
config.mode = mode.parse().expect("invalid mode");
config.target_rustcflags = Some("-L target/debug/ -L target/debug/deps/".to_owned());
config.target_rustcflags = Some("-L deps/target/debug/deps".to_owned());
if let Ok(name) = env::var("TESTNAME") {
config.filter = Some(name);
}
+1 -1
View File
@@ -23,4 +23,4 @@ mod test_macros;
mod test_ser;
#[cfg(feature = "unstable-testing")]
mod compile_tests;
mod compiletest;