Don't run dogfood tests in the rustc test suite
This commit is contained in:
parent
cdd643842f
commit
10c96e50c3
@ -1,5 +1,8 @@
|
||||
#[test]
|
||||
fn dogfood() {
|
||||
if option_env!("RUSTC_TEST_SUITE").is_some() {
|
||||
return;
|
||||
}
|
||||
let root_dir = std::env::current_dir().unwrap();
|
||||
for d in &[".", "clippy_lints"] {
|
||||
std::env::set_current_dir(root_dir.join(d)).unwrap();
|
||||
|
Loading…
Reference in New Issue
Block a user