[python3] disable failing tests on sparc

Dennis Gilmore ausil at fedoraproject.org
Tue Jul 12 02:18:43 UTC 2011


commit cdc1710678a6046df530e056b4f1eefa9396d11d
Author: Dennis Gilmore <dennis at ausil.us>
Date:   Mon Jul 11 21:18:56 2011 -0500

    disable failing tests on sparc

 python3.spec |   21 +++++++++++++++++++--
 1 files changed, 19 insertions(+), 2 deletions(-)
---
diff --git a/python3.spec b/python3.spec
index bf7802e..5ff3866 100644
--- a/python3.spec
+++ b/python3.spec
@@ -118,7 +118,7 @@
 Summary: Version 3 of the Python programming language aka Python 3000
 Name: python3
 Version: %{pybasever}.1
-Release: 1%{?dist}
+Release: 2%{?dist}
 License: Python
 Group: Development/Languages
 
@@ -874,6 +874,7 @@ CheckPython() {
   # Some additional tests fail when running the test suite as non-root outside of
   # the build, due to permissions issues.
 
+%ifarch %{sparc}
   EXCLUDED_TESTS="\
       test_distutils \
       test_httplib \
@@ -882,8 +883,21 @@ CheckPython() {
       test_pty.py \
       test_socket \
       test_telnet \
+      test_ctypes \
+      test_openpty \
+      test_pty \
   %{nil}"
-
+%else
+  EXCLUDED_TESTS="\
+      test_distutils \
+      test_httplib \
+      test_http_cookies \
+      test_openpty \
+      test_pty.py \
+      test_socket \
+      test_telnet \
+  %{nil}"
+%endif
   # Note that we're running the tests using the version of the code in the builddir,
   # not in the buildroot.
 
@@ -1278,6 +1292,9 @@ rm -fr %{buildroot}
 # ======================================================
 
 %changelog
+* Mon Jul 11 2011 Dennis Gilmore <dennis at ausil.us> - 3.2.1-2
+- disable some tests on sparc arches 
+
 * Mon Jul 11 2011 David Malcolm <dmalcolm at redhat.com> - 3.2.1-1
 - 3.2.1; refresh lib64 patch (102), subprocess unit test patch (129), disabling
 of static library build (due to Modules/_testembed; patch 6), autotool


More information about the scm-commits mailing list