[python] add s390(x) excluded tests

Dan Horák sharkcz at fedoraproject.org
Mon Jun 13 22:01:40 UTC 2011


commit 093a2cb27a2bd5dec35d3fbd2b72d713b1a0cac2
Author: Dan Horák <dan at danny.cz>
Date:   Tue Jun 14 00:01:28 2011 +0200

    add s390(x) excluded tests

 python.spec |   40 +++++++++++++++-------------------------
 1 files changed, 15 insertions(+), 25 deletions(-)
---
diff --git a/python.spec b/python.spec
index 732a803..7ce62e6 100644
--- a/python.spec
+++ b/python.spec
@@ -94,7 +94,7 @@ Summary: An interpreted, interactive, object-oriented programming language
 Name: %{python}
 # Remember to also rebase python-docs when changing this:
 Version: 2.7.2
-Release: 1%{?dist}
+Release: 2%{?dist}
 License: Python
 Group: Development/Languages
 Requires: %{python}-libs%{?_isa} = %{version}-%{release}
@@ -1156,7 +1156,6 @@ CheckPython() {
   #  OSError: [Errno 13] Permission denied
   #  ----------------------------------------------------------------------
   #
-%ifarch %{arm}
   EXCLUDED_TESTS="test_argparse \
       test_distutils \
       test_dl \
@@ -1168,40 +1167,28 @@ CheckPython() {
       test_file \
       test_file2k \
       test_subprocess \
+  %{nil}"
+  # arch-specific exclusions follow
+%ifarch %{arm}
+  EXCLUDED_TESTS="$EXCLUDED_TESTS \
       test_float \
   %{nil}"
 %else 
 %ifarch %{sparc}
-  EXCLUDED_TESTS="test_argparse \
-      test_distutils \
-      test_dl \
-      test_gdb \
-      test_http_cookies \
-      test_httplib \
-      test_socket \
-      test_urllib2 \
-      test_file \
-      test_file2k \
-      test_subprocess \
+  EXCLUDED_TESTS="$EXCLUDED_TESTS \
       test_ctypes \
       test_openpty \
       test_pty \
   %{nil}"
 %else
-  EXCLUDED_TESTS="test_argparse \
-      test_distutils \
-      test_dl \
-      test_gdb \
-      test_http_cookies \
-      test_httplib \
-      test_socket \
-      test_urllib2 \
-      test_file \
-      test_file2k \
-      test_subprocess \
+%ifarch s390 s390x
+  EXCLUDED_TESTS="$EXCLUDED_TESTS \
+      test_openpty \
+      test_pty \
   %{nil}"
 %endif
 %endif
+%endif
 
   # Debug build shows some additional failures (to be investigated):
   #
@@ -1638,6 +1625,9 @@ rm -fr %{buildroot}
 # payload file would be unpackaged)
 
 %changelog
+* Mon Jun 13 2011 Dan Horák <dan[at]danny.cz> - 2.7.2-2
+- add s390(x) excluded tests
+
 * Mon Jun 13 2011 David Malcolm <dmalcolm at redhat.com> - 2.7.2-1
 - 2.7.2; drop upstreamed patches: patch 122 (parallel make fix), patch 124
 (test_commands and SELinux), patch 130 (ppc preprocessor macro in debug
@@ -1648,7 +1638,7 @@ intermediates patch (patch 300)
 - fix sparc building by excluding failing tests RHBZ#711584
 
 * Mon May 23 2011 Peter Robinson <pbrobinson at gmail.com> - 2.7.1-8
-- fix compile on ARM by exlcuding failing tests on arm - RHBZ #706253
+- fix compile on ARM by excluding failing tests on arm - RHBZ #706253
 
 * Tue Apr 12 2011 David Malcolm <dmalcolm at redhat.com> - 2.7.1-7
 - fix "import decimal" in the Turkish locale (patch 131; rhbz#694928)


More information about the scm-commits mailing list