Re-enable dogfood test on Windows

This should work now that dogfood uses a separate output directory.
This commit is contained in:
Michael Wright 2018-04-03 06:22:42 +02:00
parent 90fcdafb79
commit 6fc9d90b60

View File

@ -3,9 +3,6 @@ fn dogfood() {
if option_env!("RUSTC_TEST_SUITE").is_some() {
return;
}
if cfg!(windows) {
return;
}
let root_dir = std::env::current_dir().unwrap();
for d in &[".", "clippy_lints"] {
std::env::set_current_dir(root_dir.join(d)).unwrap();