Skip to content

Commit

Permalink
Account for run-make tests in is_up_to_date
Browse files Browse the repository at this point in the history
  • Loading branch information
jonas-schievink committed Jan 21, 2020
1 parent ce7172d commit ef5f929
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/tools/compiletest/src/main.rs
Expand Up @@ -624,7 +624,8 @@ fn is_up_to_date(

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

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

0 comments on commit ef5f929

Please sign in to comment.