Skip to content

Commit ed9b2ba

Browse files
committed
Re-run coverage tests if coverage-dump was modified
1 parent 3afb2bb commit ed9b2ba

File tree

1 file changed

+6
-0
lines changed
  • src/tools/compiletest/src

1 file changed

+6
-0
lines changed

Diff for: src/tools/compiletest/src/lib.rs

+6
Original file line numberDiff line numberDiff line change
@@ -647,6 +647,12 @@ fn common_inputs_stamp(config: &Config) -> Stamp {
647647
stamp.add_path(&rust_src_dir.join("src/etc/htmldocck.py"));
648648
}
649649

650+
// Re-run coverage tests if the `coverage-dump` tool was modified,
651+
// because its output format might have changed.
652+
if let Some(coverage_dump_path) = &config.coverage_dump_path {
653+
stamp.add_path(coverage_dump_path)
654+
}
655+
650656
stamp.add_dir(&rust_src_dir.join("src/tools/run-make-support"));
651657

652658
// Compiletest itself.

0 commit comments

Comments
 (0)