commit 5325f04b510c1379b6b19a2cb1d4f74d698734b2
Author: Arkadiusz Miśkiewicz <[email protected]>
Date:   Fri Apr 20 09:29:50 2018 +0200

    - basic test

 encfs.spec | 6 ++++++
 1 file changed, 6 insertions(+)
---
diff --git a/encfs.spec b/encfs.spec
index 83160f2..efb4e76 100644
--- a/encfs.spec
+++ b/encfs.spec
@@ -1,4 +1,5 @@
 # TODO: duplicated locales (es vs es_ES, fr vs fr_FR)
+%bcond_without tests
 Summary:       Encrypted pass-thru filesystem for Linux
 Summary(pl.UTF-8):     Zaszyfrowany system plików dla Linuksa
 Name:          encfs
@@ -46,6 +47,11 @@ cd build
 
 %{__make}
 
+%if %{with tests}
+%{__make} unittests
+%{__make} test
+%endif
+
 %install
 rm -rf $RPM_BUILD_ROOT
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/encfs.git/commitdiff/5325f04b510c1379b6b19a2cb1d4f74d698734b2

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to