mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-04-22 13:47:58 +00:00
Isolate the compiletest dependencies
This commit is contained in:
@@ -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);
|
||||
}
|
||||
@@ -23,4 +23,4 @@ mod test_macros;
|
||||
mod test_ser;
|
||||
|
||||
#[cfg(feature = "unstable-testing")]
|
||||
mod compile_tests;
|
||||
mod compiletest;
|
||||
|
||||
Reference in New Issue
Block a user