From: dkwo <dkwo@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] python3: skip more tests
Date: Tue, 31 Jan 2023 00:43:47 +0100 [thread overview]
Message-ID: <20230130234347._YmoipyX_WOAU5MlVu6wljQ0zn8z-NBBpaZu18DPtxA@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-41983@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 569 bytes --]
There is an updated pull request by dkwo against master on the void-packages repository
https://github.com/dkwo/void-packages py3t
https://github.com/void-linux/void-packages/pull/41983
python3: skip more tests
- I tested the changes in this PR: yes
- I built this PR locally for my native architecture, (x86_64-musl)
@ahesford These tests fail for me on musl with `XBPS_CHECK_PKGS=yes`.
is it ok to exclude them, so that I can look for new failures related to openssl3?
A patch file from https://github.com/void-linux/void-packages/pull/41983.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-py3t-41983.patch --]
[-- Type: text/x-diff, Size: 2487 bytes --]
From 9942845b3e9d9659f89cef49023ba8b02b475b5f Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Mon, 30 Jan 2023 17:17:14 -0500
Subject: [PATCH] python3: skip more tests
---
srcpkgs/python3/template | 37 +++++++++++++++++++++----------------
1 file changed, 21 insertions(+), 16 deletions(-)
diff --git a/srcpkgs/python3/template b/srcpkgs/python3/template
index 972a3cf5a2ec..88852170a9cd 100644
--- a/srcpkgs/python3/template
+++ b/srcpkgs/python3/template
@@ -73,23 +73,28 @@ 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
+
+ # aarch64 failure:
+ _fail="$_fail test_spwd"
+
+ make quicktest TESTOPTS="${makejobs} --exclude ${_fail}"
}
do_install() {
next prev parent reply other threads:[~2023-01-30 23:43 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-01-30 22:22 [PR PATCH] " dkwo
2023-01-30 22:23 ` dkwo
2023-01-30 23:43 ` dkwo [this message]
2023-01-30 23:44 ` dkwo
2023-01-30 23:49 ` [PR REVIEW] " paper42
2023-01-31 1:54 ` dkwo
2023-01-31 1:54 ` [PR PATCH] [Updated] " dkwo
2023-02-04 19:27 ` ahesford
2023-02-06 19:28 ` dkwo
2023-02-06 19:28 ` [PR PATCH] [Closed]: " dkwo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230130234347._YmoipyX_WOAU5MlVu6wljQ0zn8z-NBBpaZu18DPtxA@z \
--to=dkwo@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).