From 920fc174853a2a31111349d695841c5dd61f61fb Mon Sep 17 00:00:00 2001 From: Oliver Schneider Date: Tue, 16 Jan 2018 15:26:32 +0100 Subject: [PATCH] Don't run dogfood on windows or in the rustc test suite --- tests/dogfood.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/dogfood.rs b/tests/dogfood.rs index 8ca9b5c92a4..590027f8491 100644 --- a/tests/dogfood.rs +++ b/tests/dogfood.rs @@ -3,6 +3,9 @@ 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();