Skip to content

Commit 9fa62f2

Browse files
committed
Auto merge of #99715 - tmiasko:coverage-run-make, r=Mark-Simulacrum
Move coverage tests from run-make-fulldeps to run-make
2 parents 2f847b8 + 01f4534 commit 9fa62f2

File tree

102 files changed

+17
-13
lines changed

Some content is hidden

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

102 files changed

+17
-13
lines changed

src/bootstrap/test.rs

+6-2
Original file line numberDiff line numberDiff line change
@@ -1384,9 +1384,13 @@ note: if you're sure you want to do this, please open an issue as to why. In the
13841384
.arg(builder.ensure(tool::JsonDocCk { compiler: json_compiler, target }));
13851385
}
13861386

1387-
if mode == "run-make" && suite.ends_with("fulldeps") {
1387+
if mode == "run-make" {
13881388
let rust_demangler = builder
1389-
.ensure(tool::RustDemangler { compiler, target, extra_features: Vec::new() })
1389+
.ensure(tool::RustDemangler {
1390+
compiler,
1391+
target: compiler.host,
1392+
extra_features: Vec::new(),
1393+
})
13901394
.expect("in-tree tool");
13911395
cmd.arg("--rust-demangler-path").arg(rust_demangler);
13921396
}

src/test/run-make-fulldeps/coverage/compiletest-ignore-dir

-3
This file was deleted.

src/test/run-make-fulldeps/coverage/coverage_tools.mk

-6
This file was deleted.

src/test/run-make-fulldeps/coverage-llvmir/Makefile src/test/run-make/coverage-llvmir/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# version during testing, with an additional directive at the top of this file
77
# that sets, for example: `min-llvm-version: 12.0`
88

9-
-include ../coverage/coverage_tools.mk
9+
include ../coverage/coverage_tools.mk
1010

1111
BASEDIR=../coverage-llvmir
1212

src/test/run-make-fulldeps/coverage-reports/Makefile src/test/run-make/coverage-reports/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
# FIXME(mati865): MinGW GCC miscompiles compiler-rt profiling library but with Clang it works
1111
# properly. Since we only have GCC on the CI ignore the test for now.
1212

13-
-include ../coverage/coverage_tools.mk
13+
include ../coverage/coverage_tools.mk
1414

1515
BASEDIR=../coverage-reports
1616
SOURCEDIR=../coverage
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Directory "coverage" supports the tests at prefix ../coverage-*
2+
3+
# Use ./x.py [options] test src/test/run-make/coverage to run all related tests.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Common Makefile include for Rust `run-make/coverage-* tests. Include this
2+
# file with the line:
3+
#
4+
# include ../coverage/coverage_tools.mk
5+
6+
include ../../run-make-fulldeps/tools.mk
File renamed without changes.

0 commit comments

Comments
 (0)