commit:     efff53996be8ae20f332867358fd1a3af83a1ee2
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Aug 12 01:10:10 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Aug 12 01:19:31 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=efff5399

toolchain.eclass: drop filter-flags from src_test

This no longer does anything after the previous commit to use
custom variables for flags for tests.

Signed-off-by: Sam James <sam <AT> gentoo.org>

 eclass/toolchain.eclass | 13 -------------
 1 file changed, 13 deletions(-)

diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
index 326daf66586c..3cd3be676f9b 100644
--- a/eclass/toolchain.eclass
+++ b/eclass/toolchain.eclass
@@ -1926,19 +1926,6 @@ toolchain_src_test() {
 
        # Use a subshell to allow meddling with flags just for the testsuite
        (
-               # Unexpected warnings confuse the tests.
-               filter-flags -W*
-               # May break parsing.
-               filter-flags '-fdiagnostics-color=*' '-fdiagnostics-urls=*'
-               # Gentoo QA flags which don't belong in tests
-               filter-flags -frecord-gcc-switches
-               filter-flags '-Wl,--defsym=__gentoo_check_ldflags__=0'
-               # Go doesn't support this and causes noisy warnings
-               filter-flags -Wbuiltin-declaration-mismatch
-               # The ASAN tests at least need LD_PRELOAD and the contract
-               # tests.
-               filter-flags -fno-semantic-interposition
-
                # Workaround our -Wformat-security default which breaks
                # various tests as it adds unexpected warning output.
                GCC_TESTS_CFLAGS+=" -Wno-format-security -Wno-format"

Reply via email to