llvm-runtimes/compiler-rt-sanitizers: sync more glibc version test skips

reduces noise, at least a little bit, for test failures in old slots.
The printf-fortify skips were in older ebuilds for newer slots, that
since got obsoleted by cherry-picks. But they weren't synced down, so
add them now.

Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>
This commit is contained in:
Eli Schwartz
2025-08-29 12:34:59 -04:00
parent d6d722b0d9
commit a382f2d3d3
3 changed files with 19 additions and 0 deletions

View File

@@ -106,6 +106,13 @@ src_prepare() {
if use ubsan && ! use cfi; then
> test/cfi/CMakeLists.txt || die
fi
if has_version -b ">=sys-libs/glibc-2.37"; then
# known failures with glibc-2.37
# https://github.com/llvm/llvm-project/issues/60678
rm test/dfsan/custom.cpp || die
rm test/dfsan/release_shadow_space.c || die
fi
if has_version -b ">=sys-libs/glibc-2.38"; then
# On glibc 2.38, the "nohang" test fails by... hanging.
# "fixed" in llvm 19.
@@ -113,6 +120,10 @@ src_prepare() {
# https://github.com/llvm/llvm-project/commit/deebf6b312227e028dd3258b162306b9cdb21cf7
rm test/tsan/getline_nohang.cpp || die
fi
if has_version ">=sys-libs/glibc-2.40"; then
# https://github.com/llvm/llvm-project/issues/100877
rm test/asan/TestCases/Linux/printf-fortify-5.c || die
fi
llvm.org_src_prepare
}

View File

@@ -119,6 +119,10 @@ src_prepare() {
# https://github.com/llvm/llvm-project/commit/deebf6b312227e028dd3258b162306b9cdb21cf7
rm test/tsan/getline_nohang.cpp || die
fi
if has_version ">=sys-libs/glibc-2.40"; then
# https://github.com/llvm/llvm-project/issues/100877
rm test/asan/TestCases/Linux/printf-fortify-5.c || die
fi
llvm.org_src_prepare
}

View File

@@ -112,6 +112,10 @@ src_prepare() {
# https://github.com/llvm/llvm-project/commit/deebf6b312227e028dd3258b162306b9cdb21cf7
rm test/tsan/getline_nohang.cpp || die
fi
if has_version ">=sys-libs/glibc-2.40"; then
# https://github.com/llvm/llvm-project/issues/100877
rm test/asan/TestCases/Linux/printf-fortify-5.c || die
fi
llvm.org_src_prepare
}