SPECS: mercurial.spec - run tests

arekm arekm at pld-linux.org
Sun Jul 1 11:05:47 CEST 2007


Author: arekm                        Date: Sun Jul  1 09:05:47 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- run tests

---- Files affected:
SPECS:
   mercurial.spec (1.23 -> 1.24) 

---- Diffs:

================================================================
Index: SPECS/mercurial.spec
diff -u SPECS/mercurial.spec:1.23 SPECS/mercurial.spec:1.24
--- SPECS/mercurial.spec:1.23	Sun Jul  1 11:01:04 2007
+++ SPECS/mercurial.spec	Sun Jul  1 11:05:42 2007
@@ -1,4 +1,5 @@
 # $Revision$, $Date$
+%bcond_without	tests
 Summary:	Mercurial Distributed SCM
 Summary(pl.UTF-8):	Mercurial - rozproszony SCM
 Name:		mercurial
@@ -78,6 +79,8 @@
 %{__python} setup.py build
 %{__make} -C doc
 
+%{?with_tests:cd tests && %{__python} run-tests.py --verbose}
+
 %install
 rm -rf $RPM_BUILD_ROOT
 
@@ -126,6 +129,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.24  2007/07/01 09:05:42  arekm
+- run tests
+
 Revision 1.23  2007/07/01 09:01:04  arekm
 - up to 0.9.4
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/mercurial.spec?r1=1.23&r2=1.24&f=u



More information about the pld-cvs-commit mailing list