From 3efb1503803d69a69fc28b47d5f172eac824839b Mon Sep 17 00:00:00 2001 From: dkwo Date: Mon, 30 Jan 2023 17:17:14 -0500 Subject: [PATCH] python3: skip more tests --- srcpkgs/python3/template | 34 ++++++++++++++++++---------------- 1 file changed, 18 insertions(+), 16 deletions(-) diff --git a/srcpkgs/python3/template b/srcpkgs/python3/template index 972a3cf5a2ec..38c4d10fec19 100644 --- a/srcpkgs/python3/template +++ b/srcpkgs/python3/template @@ -73,23 +73,25 @@ do_configure() { } do_check() { + local _fail + # 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" - make ${makejobs} EXTRATESTOPTS="${opts}" quicktest + _fail="test_chown_*" # relies on sane group membership not found in xbps-src + _fail="$_fail test_getspnam_exception" # expects shadow passwd db unreadable by user + _fail="$_fail test_find_library_with_*" # expects functionality patched out for musl + _fail="$_fail test_openssl_version" # LibreSSL version and OpenSSL_version_num disagree + _fail="$_fail test_shared_ciphers" # SSL advertises unexpected ciphers + _fail="$_fail test_freeze_simple_script" # requires in-tree expat, which we removed + + # musl failures: + _fail="$_fail test__locale test_c_locale_coercion test_locale test_os test_re" + + # Tests ignored due to failures for unknown reasons: + _fail="$_fail test_ctypes test_tools" + _fail="$_fail test_session*" # anomalies in SSL session handling + _fail="$_fail test_localtime_daylight_*_dst_true" # overflow in datetime.time.mktime + + make quicktest TESTOPTS="${makejobs} --exclude ${_fail}" } do_install() {