[python26-tornado/el5: 21/31] disable running of unittests for el6

gholms gholms at fedoraproject.org
Fri Aug 3 22:40:01 UTC 2012


commit 68a49a7aea32c5d0c53927049858d443b7a23205
Author: Ionuț Arțăriși <iartarisi at suse.cz>
Date:   Wed Nov 9 11:37:26 2011 +0100

    disable running of unittests for el6

 python-tornado.spec |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/python-tornado.spec b/python-tornado.spec
index 8161391..d898303 100644
--- a/python-tornado.spec
+++ b/python-tornado.spec
@@ -58,7 +58,9 @@ python setup.py install --root=%{buildroot}
 rm -rf %{buildroot}
 
 %check
-python -m unittest discover -s tornado/test -p *test.py
+%if "%{dist}" != "el6"
+    python -m unittest discover -s tornado/test -p *test.py
+%endif
 
 %files
 %defattr(-,root,root,-)


More information about the scm-commits mailing list