From 34dc07863da332e2a00b502d361205e5863592a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20Kr=C3=BCger?= Date: Fri, 6 Sep 2019 19:35:20 +0200 Subject: [PATCH] tests: execute dogfood tests with incremental compilation disabled reduces target/ dir size of when "cago test"ing by around 2 gigs. --- tests/dogfood.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/dogfood.rs b/tests/dogfood.rs index 1f03ba3950a..3cf39a8f9c1 100644 --- a/tests/dogfood.rs +++ b/tests/dogfood.rs @@ -12,6 +12,7 @@ fn dogfood() { let output = std::process::Command::new(clippy_cmd) .current_dir(root_dir) .env("CLIPPY_DOGFOOD", "1") + .env("CARGO_INCREMENTAL", "0") .arg("clippy-preview") .arg("--all-targets") .arg("--all-features") @@ -50,6 +51,7 @@ fn dogfood_tests() { let output = std::process::Command::new(&clippy_cmd) .current_dir(root_dir.join(d)) .env("CLIPPY_DOGFOOD", "1") + .env("CARGO_INCREMENTAL", "0") .arg("clippy") .arg("--") .args(&["-D", "clippy::all"])