Merge pull request #1922 from rust-lang-nursery/compiletest_update
Update to latest compiletest version
This commit is contained in:
commit
75faed13b4
@ -4,7 +4,7 @@
|
|||||||
use std::env::{set_var, var};
|
use std::env::{set_var, var};
|
||||||
|
|
||||||
fn run_mode(dir: &'static str, mode: &'static str) {
|
fn run_mode(dir: &'static str, mode: &'static str) {
|
||||||
let mut config = compiletest::default_config();
|
let mut config = compiletest::Config::default();
|
||||||
|
|
||||||
let cfg_mode = mode.parse().expect("Invalid mode");
|
let cfg_mode = mode.parse().expect("Invalid mode");
|
||||||
config.target_rustcflags = Some("-L target/debug/ -L target/debug/deps -Dwarnings".to_owned());
|
config.target_rustcflags = Some("-L target/debug/ -L target/debug/deps -Dwarnings".to_owned());
|
||||||
|
@ -18,7 +18,7 @@ fn dogfood() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
let mut config = compiletest::default_config();
|
let mut config = compiletest::Config::default();
|
||||||
|
|
||||||
let cfg_mode = "run-fail".parse().expect("Invalid mode");
|
let cfg_mode = "run-fail".parse().expect("Invalid mode");
|
||||||
let mut s = String::new();
|
let mut s = String::new();
|
||||||
|
Loading…
Reference in New Issue
Block a user