Skip to content

Commit

Permalink
Re-run coverage tests if coverage-dump was modified
Browse files Browse the repository at this point in the history
  • Loading branch information
Zalathar authored and shrirambalaji committed Oct 6, 2024
1 parent 1b0a63d commit 0881b8e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/tools/compiletest/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -647,6 +647,12 @@ fn common_inputs_stamp(config: &Config) -> Stamp {
stamp.add_path(&rust_src_dir.join("src/etc/htmldocck.py"));
}

// Re-run coverage tests if the `coverage-dump` tool was modified,
// because its output format might have changed.
if let Some(coverage_dump_path) = &config.coverage_dump_path {
stamp.add_path(coverage_dump_path)
}

stamp.add_dir(&rust_src_dir.join("src/tools/run-make-support"));

// Compiletest itself.
Expand Down

0 comments on commit 0881b8e

Please # to comment.