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