[packages/mercurial] run tests in parallel

draenog draenog at pld-linux.org
Sun Jun 2 23:05:35 CEST 2013


commit b086b2d9abe5385bf5394f86d25ee92137d987c7
Author: Kacper Kornet <draenog at pld-linux.org>
Date:   Sun Jun 2 21:10:04 2013 +0100

    run tests in parallel

 mercurial.spec | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/mercurial.spec b/mercurial.spec
index a5d86ba..5ddfc7c 100644
--- a/mercurial.spec
+++ b/mercurial.spec
@@ -120,7 +120,7 @@ install %{SOURCE1} hgext/gtools.py
 %{__python} setup.py build
 %{__make} -C doc
 
-%{?with_tests:cd tests && %{__python} run-tests.py --verbose}
+%{?with_tests:cd tests && %{__python} run-tests.py %{?_smp_mflags} --verbose}
 
 %install
 rm -rf $RPM_BUILD_ROOT
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/mercurial.git/commitdiff/e7776cbb4160cd4a71bbe074c2d30734c932f591



More information about the pld-cvs-commit mailing list