From 77cddd53179e673f144b856cc700d28a8858bfba45f5d9634e43a3a7e9c84ca9 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 5 May 2020 18:02:41 +0000 Subject: [PATCH] - Skip failing tests on i586 (gh#IdentityPython/pysaml2#682) OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pysaml2?expand=0&rev=35 --- python-pysaml2.changes | 1 + python-pysaml2.spec | 8 +++++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/python-pysaml2.changes b/python-pysaml2.changes index 38e9d98..1419509 100644 --- a/python-pysaml2.changes +++ b/python-pysaml2.changes @@ -2,6 +2,7 @@ Tue May 5 12:50:42 UTC 2020 - Matej Cepl - Don't use %python3_only command, but properly use alternatives. +- Skip failing tests on i586 (gh#IdentityPython/pysaml2#682) ------------------------------------------------------------------- Sat Mar 14 15:57:25 UTC 2020 - Dirk Mueller diff --git a/python-pysaml2.spec b/python-pysaml2.spec index 179e19f..ba69eef 100644 --- a/python-pysaml2.spec +++ b/python-pysaml2.spec @@ -86,7 +86,13 @@ done %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%pytest tests +# Excluded tests for i586 gh#IdentityPython/pysaml2#682 +%ifarch i586 +SKIP_TESTS="-k not (test_assertion_consumer_service or test_swamid_sp or test_swamid_idp or test_other_response or test_mta or test_unknown_subject)" +%else +SKIP_TESTS="" +%endif +%pytest $SKIP_TESTS tests %post %python_install_alternative make_metadata.py parse_xsd2.py mdexport.py merge_metadata.py