SPECS: mhash.spec - add tests

arekm arekm at pld-linux.org
Mon Jan 9 10:15:55 CET 2006


Author: arekm                        Date: Mon Jan  9 09:15:55 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- add tests

---- Files affected:
SPECS:
   mhash.spec (1.37 -> 1.38) 

---- Diffs:

================================================================
Index: SPECS/mhash.spec
diff -u SPECS/mhash.spec:1.37 SPECS/mhash.spec:1.38
--- SPECS/mhash.spec:1.37	Tue Jan  3 23:36:33 2006
+++ SPECS/mhash.spec	Mon Jan  9 10:15:50 2006
@@ -1,4 +1,5 @@
 # $Revision$, $Date$
+%bcond_without	tests
 Summary:	Hash library
 Summary(pl):	Biblioteka funkcji mieszających (skrótu)
 Summary(pt_BR):	Interface uniforme para vários algoritmos hash
@@ -90,6 +91,13 @@
 	--enable-static
 %{__make}
 
+%if %{with tests}
+cd src
+for a in *_test; do
+	[ -x "$a" ] && "./$a" 
+done
+%endif
+
 %install
 rm -rf $RPM_BUILD_ROOT
 
@@ -124,6 +132,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.38  2006/01/09 09:15:50  arekm
+- add tests
+
 Revision 1.37  2006/01/03 22:36:33  glen
 - resurrect mhash_free for php (sf #1386840, php#35686); rel 2
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/mhash.spec?r1=1.37&r2=1.38&f=u



More information about the pld-cvs-commit mailing list