Skip to content

Commit f37601a

Browse files
Account for run-make tests in is_up_to_date
1 parent b521491 commit f37601a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/tools/compiletest/src/main.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -624,7 +624,8 @@ fn is_up_to_date(
624624

625625
// Check timestamps.
626626
let mut inputs = inputs.clone();
627-
inputs.add_path(&testpaths.file);
627+
// Use `add_dir` to account for run-make tests, which use their individual directory
628+
inputs.add_dir(&testpaths.file);
628629

629630
for aux in &props.aux {
630631
let path = testpaths.file.parent().unwrap().join("auxiliary").join(aux);

0 commit comments

Comments
 (0)