]> git.pld-linux.org Git - packages/python-gevent.git/commitdiff
move tests run to %build, when it belongs
authorJacek Konieczny <j.konieczny@eggsoft.pl>
Fri, 21 Feb 2014 12:27:52 +0000 (13:27 +0100)
committerJacek Konieczny <j.konieczny@eggsoft.pl>
Fri, 21 Feb 2014 12:28:24 +0000 (13:28 +0100)
python-gevent.spec

index c9d88c5af7078029a13f3f0f9aceb3d7f87c97c4..b2302b12f03507762ea3b9541bc904d57f4d8721 100644 (file)
@@ -47,6 +47,12 @@ CC="%{__cc}" \
 CFLAGS="%{rpmcflags}" \
 %{__python} setup.py build
 
+%if %{with tests}
+cd greentest
+PYTHONPATH=.. python testrunner.py --expected ../known_failures-merged.txt
+cd ..
+%endif
+
 %install
 rm -rf $RPM_BUILD_ROOT
 %{__python} setup.py install \
@@ -56,12 +62,6 @@ rm -rf $RPM_BUILD_ROOT
 
 %py_postclean
 
-%if %{with tests}
-cd greentest
-PYTHONPATH=.. python testrunner.py --expected ../known_failures-merged.txt
-cd ..
-%endif
-
 %clean
 rm -rf $RPM_BUILD_ROOT
 
This page took 0.078007 seconds and 4 git commands to generate.