Skip to content

Commit 66afff9

Browse files
authored
Merge pull request #3225 from matthiaskrgr/dogfood
tests: dogfood: extend to run with --all-features and clippy::internal enabled.
2 parents cdde22c + 41d3df7 commit 66afff9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/dogfood.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,16 @@ fn dogfood() {
44
return;
55
}
66
let root_dir = std::env::current_dir().unwrap();
7-
for d in &[".", "clippy_lints"] {
7+
for d in &[".", "clippy_lints", "rustc_tools_util", "clippy_dev"] {
88
std::env::set_current_dir(root_dir.join(d)).unwrap();
99
let output = std::process::Command::new("cargo")
1010
.arg("run")
1111
.arg("--bin")
1212
.arg("cargo-clippy")
13+
.arg("--all-features")
1314
.arg("--manifest-path")
1415
.arg(root_dir.join("Cargo.toml"))
16+
.args(&["--", "-W clippy::internal"])
1517
.env("CLIPPY_DOGFOOD", "true")
1618
.output()
1719
.unwrap();

0 commit comments

Comments
 (0)