From 5fc00306a8ed6eb40b470773988c57d494b2596d Mon Sep 17 00:00:00 2001 From: Jieyou Xu Date: Mon, 22 Dec 2025 09:40:21 +0800 Subject: [PATCH] tidy: skip target-specific check for run-make-cargo too I forgot to change this when implementing the run-make fission. --- src/tools/tidy/src/target_specific_tests.rs | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/tools/tidy/src/target_specific_tests.rs b/src/tools/tidy/src/target_specific_tests.rs index 159d7278bb62e..11138de5de764 100644 --- a/src/tools/tidy/src/target_specific_tests.rs +++ b/src/tools/tidy/src/target_specific_tests.rs @@ -52,8 +52,12 @@ pub fn check(tests_path: &Path, tidy_ctx: TidyCtx) { } }); - // Skip run-make tests as revisions are not supported. - if entry.path().strip_prefix(tests_path).is_ok_and(|rest| rest.starts_with("run-make")) { + // Skip run-make/run-make-cargo tests as revisions are not supported. + if entry + .path() + .strip_prefix(tests_path) + .is_ok_and(|rest| rest.starts_with("run-make") || rest.starts_with("run-make-cargo")) + { return; }