[pass] Add %check

Christophe Fergeau teuf at fedoraproject.org
Fri Apr 25 16:40:05 UTC 2014


commit 11b475803d9d2956cde280a7a8dc59af5b0df81e
Author: Christophe Fergeau <cfergeau at redhat.com>
Date:   Fri Apr 25 18:38:09 2014 +0200

    Add %check
    
    Now that pass has a test suite, we can run it when building the package.

 pass.spec |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/pass.spec b/pass.spec
index df8f77c..a3c5b2f 100644
--- a/pass.spec
+++ b/pass.spec
@@ -28,6 +28,9 @@ make DESTDIR=%{buildroot} PREFIX=%{_prefix} \
      MANDIR=%{_mandir} FORCE_ALL=1 \
      install
 
+%check
+make test
+
 %files
 %doc README COPYING contrib
 %{_bindir}/pass


More information about the scm-commits mailing list