Skip to content

Commit fdc84e8

Browse files
Rollup merge of #150237 - jieyouxu:tidy-run-make-cargo, r=Zalathar
Skip tidy target-specific check for `run-make-cargo` too I forgot to change this when implementing the run-make fission. Noticed in #149624 (comment).
2 parents d31a2be + 5fc0030 commit fdc84e8

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/tools/tidy/src/target_specific_tests.rs

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,12 @@ pub fn check(tests_path: &Path, tidy_ctx: TidyCtx) {
5252
}
5353
});
5454

55-
// Skip run-make tests as revisions are not supported.
56-
if entry.path().strip_prefix(tests_path).is_ok_and(|rest| rest.starts_with("run-make")) {
55+
// Skip run-make/run-make-cargo tests as revisions are not supported.
56+
if entry
57+
.path()
58+
.strip_prefix(tests_path)
59+
.is_ok_and(|rest| rest.starts_with("run-make") || rest.starts_with("run-make-cargo"))
60+
{
5761
return;
5862
}
5963

0 commit comments

Comments
 (0)