Skip to content

Commit

Permalink
Remove //@ ignore-windows-gnu from tests that need the profiler run…
Browse files Browse the repository at this point in the history
…time

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 Mar 17, 2024
1 parent c01cfae commit fb53a5f
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
Expand Up @@ -947,9 +947,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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -1,5 +1,4 @@
# needs-profiler-support
# ignore-windows-gnu

include ../tools.mk

Expand Down

0 comments on commit fb53a5f

Please sign in to comment.