[python/f14] fix compile on ARM by exlcuding failing tests on arm - RHBZ #706253

Peter Robinson pbrobinson at fedoraproject.org
Mon May 23 12:03:45 UTC 2011


commit 3c0622d01ec3e72fbb79088b44e563a3122ef9fc
Author: Peter Robinson <pbrobinson at gmail.com>
Date:   Mon May 23 11:53:02 2011 +0100

    fix compile on ARM by exlcuding failing tests on arm - RHBZ #706253

 python.spec |   21 ++++++++++++++++++++-
 1 files changed, 20 insertions(+), 1 deletions(-)
---
diff --git a/python.spec b/python.spec
index 195d3e7..2101501 100644
--- a/python.spec
+++ b/python.spec
@@ -1189,18 +1189,36 @@ CheckPython() {
   #  OSError: [Errno 13] Permission denied
   #  ----------------------------------------------------------------------
   #
+%ifarch %{arm}
   EXCLUDED_TESTS="test_argparse \
       test_distutils \
       test_dl \
       test_gdb \
       test_http_cookies \
       test_httplib \
+      test_ioctl \
       test_socket \
       test_urllib2 \
       test_file \
       test_file2k \
       test_subprocess \
+      test_float \
   %{nil}"
+%else  
+  EXCLUDED_TESTS="test_argparse \
+      test_distutils \
+      test_dl \
+      test_gdb \
+      test_http_cookies \
+      test_httplib \
+      test_ioctl \
+      test_socket \
+      test_urllib2 \
+      test_file \
+      test_file2k \
+      test_subprocess \
+  %{nil}"
+%endif
   
   # Debug build shows some additional failures (to be investigated):
   #
@@ -1639,7 +1657,8 @@ rm -fr %{buildroot}
 # payload file would be unpackaged)
 
 %changelog
-* Wed May 18 2011 Peter Robinson <pbrobinson at gmail.com> - 2.7-8.4
+* Mon May 23 2011 Peter Robinson <pbrobinson at gmail.com> - 2.7-8.4
+- fix compile on ARM by exlcuding failing tests on arm - RHBZ #706253
 - sync valgrind arches so we compile on arm
 
 * Mon Sep 27 2010 David Malcolm <dmalcolm at redhat.com> - 2.7-8.3


More information about the scm-commits mailing list