[packages/openvpn] - run tests

arekm arekm at pld-linux.org
Mon Jan 11 08:41:31 CET 2021


commit e155c28e1457804012ee6b935c7ce6b4b79f235d
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Mon Jan 11 08:41:16 2021 +0100

    - run tests

 openvpn.spec | 5 +++++
 1 file changed, 5 insertions(+)
---
diff --git a/openvpn.spec b/openvpn.spec
index 25738a7..534805f 100644
--- a/openvpn.spec
+++ b/openvpn.spec
@@ -2,6 +2,7 @@
 #
 # Conditional build:
 %bcond_without	pkcs11		# PKCS#11 support
+%bcond_without	tests
 
 Summary:	VPN Daemon
 Summary(pl.UTF-8):	Serwer VPN
@@ -168,6 +169,10 @@ CPPFLAGS="%{rpmcppflags} $(pkg-config --cflags liblz4)"
 
 %{__make}
 
+%if %{with tests}
+%{__make} check
+%endif
+
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{_sysconfdir}/openvpn,%{_sbindir},%{_mandir}/man8} \
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/openvpn.git/commitdiff/e155c28e1457804012ee6b935c7ce6b4b79f235d



More information about the pld-cvs-commit mailing list