mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 17:09:10 -07:00
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:
@@ -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
|
||||
}
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user