SPECS: yassl.spec - make tests

glen glen at pld-linux.org
Wed Jan 31 22:41:58 CET 2007


Author: glen                         Date: Wed Jan 31 21:41:58 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- make tests

---- Files affected:
SPECS:
   yassl.spec (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SPECS/yassl.spec
diff -u SPECS/yassl.spec:1.1 SPECS/yassl.spec:1.2
--- SPECS/yassl.spec:1.1	Wed Jan 31 22:39:03 2007
+++ SPECS/yassl.spec	Wed Jan 31 22:41:53 2007
@@ -1,4 +1,8 @@
 # $Revision$, $Date$
+#
+# Conditional build:
+%bcond_with	tests		# build with tests
+#
 # TODO
 # - bundled openssl?
 # - shared lib, -devel, -static
@@ -29,6 +33,11 @@
 
 %{__make}
 
+%if %{with tests}
+cd testsuite
+./testsuite
+%endif
+
 %install
 rm -rf $RPM_BUILD_ROOT
 %{__make} install \
@@ -60,7 +69,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2007/01/31 21:41:53  glen
+- make tests
+
 Revision 1.1  2007/01/31 21:39:03  glen
 - new, based on openpkg spec
 - mysql uses this library internally btw
-
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/yassl.spec?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list