Skip to content

Commit

Permalink
coverage: Migrate tests/coverage-map into tests/coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
Zalathar committed Nov 7, 2023
1 parent e9d04c5 commit 49127c6
Show file tree
Hide file tree
Showing 106 changed files with 5 additions and 2,764 deletions.
18 changes: 5 additions & 13 deletions src/bootstrap/src/core/build_steps/test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1433,24 +1433,16 @@ impl Step for Coverage {
}

fn run(self, builder: &Builder<'_>) {
builder.ensure(Compiletest {
compiler: self.compiler,
target: self.target,
mode: "coverage-map",
suite: "coverage-map",
path: "tests/coverage-map",
compare_mode: None,
});
self.run_unified_suite(builder, CoverageMap::MODE);
self.run_unified_suite(builder, RunCoverage::MODE);
}
}

default_test!(CoverageMap {
path: "tests/coverage-map",
mode: "coverage-map",
suite: "coverage-map"
coverage_test_alias!(CoverageMap {
alias_and_mode: "coverage-map",
default: true,
only_hosts: false,
});

coverage_test_alias!(RunCoverage {
alias_and_mode: "run-coverage",
default: true,
Expand Down
66 changes: 0 additions & 66 deletions tests/coverage-map/abort.rs

This file was deleted.

32 changes: 0 additions & 32 deletions tests/coverage-map/assert.rs

This file was deleted.

128 changes: 0 additions & 128 deletions tests/coverage-map/async.rs

This file was deleted.

57 changes: 0 additions & 57 deletions tests/coverage-map/async2.rs

This file was deleted.

22 changes: 0 additions & 22 deletions tests/coverage-map/auxiliary/inline_always_with_dead_code.rs

This file was deleted.

4 changes: 0 additions & 4 deletions tests/coverage-map/auxiliary/unused_mod_helper.rs

This file was deleted.

Loading

0 comments on commit 49127c6

Please sign in to comment.