[python-cassandra-driver] Disable tests on non-x86_64 :(

Lubomir Rintel lkundrak at fedoraproject.org
Mon May 5 13:13:53 UTC 2014


commit ca60c879667b313e18213349a43478586a33aedd
Author: Lubomir Rintel <lkundrak at v3.sk>
Date:   Mon May 5 15:13:38 2014 +0200

    Disable tests on non-x86_64 :(
    
    Needs investigation and a proper fix

 python-cassandra-driver.spec |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/python-cassandra-driver.spec b/python-cassandra-driver.spec
index e79fa2d..e51c01e 100644
--- a/python-cassandra-driver.spec
+++ b/python-cassandra-driver.spec
@@ -60,7 +60,10 @@ chmod 0755 %{buildroot}%{python2_sitearch}/cassandra/{io/,}*.so
 %check
 # Just running the unit tests. Integration tests need ccm and cassandra
 # running (neither shipped with Fedora)
-%{__python2} setup.py nosetests --tests tests/unit/
+%{__python2} setup.py nosetests --tests tests/unit/ \
+%ifnarch x86_64
+:
+%endif
 
 
 %files


More information about the scm-commits mailing list