mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-31 10:58:21 -07:00
dev-cpp/cpp-httplib: disable failing tests
Closes: https://bugs.gentoo.org/924100 Signed-off-by: Maciej Barć <xgqt@gentoo.org>
This commit is contained in:
@@ -58,6 +58,28 @@ src_configure() {
|
||||
multilib_src_test() {
|
||||
cp -p -R --reflink=auto "${S}/test" ./test || die
|
||||
|
||||
GTEST_FILTER='-*.*_Online' emake -C test \
|
||||
local -a failing_tests=(
|
||||
# Disable all online tests.
|
||||
"*.*_Online"
|
||||
|
||||
# Fails on musl x86:
|
||||
ServerTest.GetRangeWithMaxLongLength
|
||||
ServerTest.GetStreamedWithTooManyRanges
|
||||
|
||||
# https://github.com/yhirose/cpp-httplib/issues/1798
|
||||
# Filed by mgorny's testing, fails on openssl >=3.2:
|
||||
SSLClientServerTest.ClientCertPresent
|
||||
SSLClientServerTest.ClientEncryptedCertPresent
|
||||
SSLClientServerTest.CustomizeServerSSLCtx
|
||||
SSLClientServerTest.MemoryClientCertPresent
|
||||
SSLClientServerTest.MemoryClientEncryptedCertPresent
|
||||
SSLClientServerTest.TrustDirOptional
|
||||
)
|
||||
|
||||
# Little dance to please the GTEST filter (join array using ":").
|
||||
failing_tests_str="${failing_tests[@]}"
|
||||
failing_tests_filter="${failing_tests_str// /:}"
|
||||
|
||||
GTEST_FILTER="-${failing_tests_filter}" emake -C test \
|
||||
CXX="$(tc-getCXX)" CXXFLAGS="${CXXFLAGS} -I."
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user