Skip to content

Commit 03fd825

Browse files
committed
Ignore failing PGO/coverage tests on MinGW
1 parent 1ea121c commit 03fd825

File tree

5 files changed

+21
-1
lines changed
  • src/test/run-make-fulldeps

5 files changed

+21
-1
lines changed

src/test/run-make-fulldeps/instrument-coverage-cov-reports-base/Makefile

+4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
# needs-profiler-support
2+
# ignore-windows-gnu
3+
4+
# FIXME(mati865): MinGW GCC miscompiles compiler-rt profiling library but with Clang it works
5+
# properly. Since we only have GCC on the CI ignore the test for now.
26

37
# ISSUE(76038): When targeting MSVC, Rust binaries built with both `-Z instrument-coverage` and
48
# `-C link-dead-code` typically crash (with a seg-fault) or at best generate an empty `*.profraw`.
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# needs-profiler-support
22
# ignore-msvc
3+
# ignore-windows-gnu
4+
5+
# FIXME(mati865): MinGW GCC miscompiles compiler-rt profiling library but with Clang it works
6+
# properly. Since we only have GCC on the CI ignore the test for now.
37

48
# LINK_DEAD_CODE requires ignore-msvc due to Issue #76038
59
LINK_DEAD_CODE=yes
@@ -8,4 +12,4 @@ LINK_DEAD_CODE=yes
812

913
# ISSUE(76038): When targeting MSVC, Rust binaries built with both `-Z instrument-coverage` and
1014
# `-C link-dead-code` typically crash (with a seg-fault) or at best generate an empty `*.profraw`.
11-
# See ../instrument-coverage/coverage_tools.mk for more information.
15+
# See ../instrument-coverage/coverage_tools.mk for more information.

src/test/run-make-fulldeps/pgo-branch-weights/Makefile

+4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
# needs-profiler-support
2+
# ignore-windows-gnu
3+
4+
# FIXME(mati865): MinGW GCC miscompiles compiler-rt profiling library but with Clang it works
5+
# properly. Since we only have GCC on the CI ignore the test for now.
26

37
-include ../tools.mk
48

src/test/run-make-fulldeps/pgo-indirect-call-promotion/Makefile

+4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
# needs-profiler-support
2+
# ignore-windows-gnu
3+
4+
# FIXME(mati865): MinGW GCC miscompiles compiler-rt profiling library but with Clang it works
5+
# properly. Since we only have GCC on the CI ignore the test for now.
26

37
-include ../tools.mk
48

src/test/run-make-fulldeps/pgo-use/Makefile

+4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
# needs-profiler-support
2+
# ignore-windows-gnu
3+
4+
# FIXME(mati865): MinGW GCC miscompiles compiler-rt profiling library but with Clang it works
5+
# properly. Since we only have GCC on the CI ignore the test for now.
26

37
-include ../tools.mk
48

0 commit comments

Comments
 (0)