Skip to content

Commit

Permalink
Remove //@ ignore-windows-gnu from tests that need the profiler
Browse files Browse the repository at this point in the history
The profiler runtime is no longer built in mingw test jobs, so these tests
should naturally be skipped by `//@ needs-profiler-support`.
  • Loading branch information
Zalathar committed May 30, 2024
1 parent 5750c5e commit fd740aa
Show file tree
Hide file tree
Showing 8 changed files with 0 additions and 28 deletions.
3 changes: 0 additions & 3 deletions src/tools/compiletest/src/header.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1010,9 +1010,6 @@ fn iter_header(
if mode == Mode::CoverageRun {
let extra_directives: &[&str] = &[
"needs-profiler-support",
// FIXME(mati865): MinGW GCC miscompiles compiler-rt profiling library but with Clang it works
// properly. Since we only have GCC on the CI ignore the test for now.
"ignore-windows-gnu",
// FIXME(pietroalbini): this test currently does not work on cross-compiled
// targets because remote-test is not capable of sending back the *.profraw
// files generated by the LLVM instrumentation.
Expand Down
4 changes: 0 additions & 4 deletions tests/run-make/optimization-remarks-dir-pgo/Makefile
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
# needs-profiler-support
# ignore-windows-gnu
# ignore-cross-compile

# FIXME(mati865): MinGW GCC miscompiles compiler-rt profiling library but with Clang it works
# properly. Since we only have GCC on the CI ignore the test for now.

include ../tools.mk

PROFILE_DIR=$(TMPDIR)/profiles
Expand Down
4 changes: 0 additions & 4 deletions tests/run-make/pgo-branch-weights/Makefile
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
# needs-profiler-support
# ignore-windows-gnu
# ignore-cross-compile

# FIXME(mati865): MinGW GCC miscompiles compiler-rt profiling library but with Clang it works
# properly. Since we only have GCC on the CI ignore the test for now.

include ../tools.mk

# For some very small programs GNU ld seems to not properly handle
Expand Down
4 changes: 0 additions & 4 deletions tests/run-make/pgo-gen-lto/Makefile
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
# needs-profiler-support
# ignore-windows-gnu
# ignore-cross-compile

# FIXME(mati865): MinGW GCC miscompiles compiler-rt profiling library but with Clang it works
# properly. Since we only have GCC on the CI ignore the test for now.

include ../tools.mk

COMPILE_FLAGS=-Copt-level=3 -Clto=fat -Cprofile-generate="$(TMPDIR)"
Expand Down
4 changes: 0 additions & 4 deletions tests/run-make/pgo-gen/Makefile
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
# needs-profiler-support
# ignore-windows-gnu
# ignore-cross-compile

# FIXME(mati865): MinGW GCC miscompiles compiler-rt profiling library but with Clang it works
# properly. Since we only have GCC on the CI ignore the test for now.

include ../tools.mk

COMPILE_FLAGS=-g -Cprofile-generate="$(TMPDIR)"
Expand Down
4 changes: 0 additions & 4 deletions tests/run-make/pgo-indirect-call-promotion/Makefile
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
# needs-profiler-support
# ignore-windows-gnu
# ignore-cross-compile

# FIXME(mati865): MinGW GCC miscompiles compiler-rt profiling library but with Clang it works
# properly. Since we only have GCC on the CI ignore the test for now.

include ../tools.mk

all:
Expand Down
4 changes: 0 additions & 4 deletions tests/run-make/pgo-use/Makefile
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
# needs-profiler-support
# ignore-windows-gnu
# ignore-cross-compile

# FIXME(mati865): MinGW GCC miscompiles compiler-rt profiling library but with Clang it works
# properly. Since we only have GCC on the CI ignore the test for now.

include ../tools.mk

# This test makes sure that PGO profiling data leads to cold functions being
Expand Down
1 change: 0 additions & 1 deletion tests/run-make/track-pgo-dep-info/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# needs-profiler-support
# ignore-windows-gnu

include ../tools.mk

Expand Down

0 comments on commit fd740aa

Please sign in to comment.