python3: fix checks on x86_64-musl
This commit is contained in:
parent
49effd02d2
commit
82e468a29d
|
@ -73,22 +73,29 @@ do_configure() {
|
|||
}
|
||||
|
||||
do_check() {
|
||||
# Tests ignored due to expected failures:
|
||||
# test_chown_*: relies on sane group membership not found in xbps-src
|
||||
# test_getspnam_exception: expects shadow passwd db unreadable by user
|
||||
# test_find_library_with_*: expects functionality patched out for musl
|
||||
# test_openssl_version: LibreSSL version and OpenSSL_version_num disagree
|
||||
# test_shared_ciphers: SSL advertises unexpected ciphers
|
||||
# test_freeze_simple_script: requires in-tree expat, which we removed
|
||||
#
|
||||
# Test ignored due to failures for unknown reasons:
|
||||
# test_session*: anomalies in SSL session handling
|
||||
# test_localtime_daylight_*_dst_true: overflow in datetime.time.mktime
|
||||
local opts="-i test_chown_* -i test_getspnam_exception \
|
||||
-i test_find_library_with_* -i test_openssl_version \
|
||||
-i test_shared_ciphers -i test_session* \
|
||||
-i test_localtime_daylight_*_dst_true \
|
||||
-i test_freeze_simple_script"
|
||||
local opts
|
||||
|
||||
# relies on sane group membership not found in xbps-src
|
||||
opts="-i test_chown_*"
|
||||
# expects shadow passwd db unreadable by user
|
||||
opts+=" -i test_getspnam_exception"
|
||||
# expects functionality patched out for musl
|
||||
opts+=" -i test_find_library_with_*"
|
||||
# SSL advertises unexpected ciphers
|
||||
opts+=" -i test_shared_ciphers"
|
||||
# requires in-tree expat, which we removed
|
||||
opts+=" -i test_freeze_simple_script"
|
||||
# anomalies in SSL session handling
|
||||
opts+=" -i test_session*"
|
||||
# overflow in datetime.time.mktime
|
||||
opts+=" -i test_localtime_daylight_*_dst_true"
|
||||
|
||||
if [ "${XBPS_TARGET_LIBC}" = "musl" ]; then
|
||||
# musl doesn't work with locales
|
||||
opts+=" -i test_locale* -i test_c_locale* -i test__locale"
|
||||
opts+=" -i test_fpathconf"
|
||||
fi
|
||||
|
||||
make ${makejobs} EXTRATESTOPTS="${opts}" quicktest
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue