Skip to content

Commit e9d04c5

Browse files
committed
coverage: Migrate tests/run-coverage into tests/coverage
1 parent aea7c27 commit e9d04c5

File tree

105 files changed

+7
-9
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

105 files changed

+7
-9
lines changed

src/bootstrap/src/core/build_steps/test.rs

+7-9
Original file line numberDiff line numberDiff line change
@@ -1441,14 +1441,7 @@ impl Step for Coverage {
14411441
path: "tests/coverage-map",
14421442
compare_mode: None,
14431443
});
1444-
builder.ensure(Compiletest {
1445-
compiler: self.compiler,
1446-
target: self.target,
1447-
mode: "run-coverage",
1448-
suite: "run-coverage",
1449-
path: "tests/run-coverage",
1450-
compare_mode: None,
1451-
});
1444+
self.run_unified_suite(builder, RunCoverage::MODE);
14521445
}
14531446
}
14541447

@@ -1458,7 +1451,12 @@ default_test!(CoverageMap {
14581451
suite: "coverage-map"
14591452
});
14601453

1461-
host_test!(RunCoverage { path: "tests/run-coverage", mode: "run-coverage", suite: "run-coverage" });
1454+
coverage_test_alias!(RunCoverage {
1455+
alias_and_mode: "run-coverage",
1456+
default: true,
1457+
only_hosts: true,
1458+
});
1459+
14621460
host_test!(RunCoverageRustdoc {
14631461
path: "tests/run-coverage-rustdoc",
14641462
mode: "run-coverage",
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)