summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2010-02-26 11:43:30 -0500
committerStephen Gallagher <sgallagh@redhat.com>2010-03-04 12:41:30 -0500
commit86e0543186bfecb2f502cde4a7cedb0908c59e06 (patch)
tree9a784c2f3245634d5b59c391c04b4d7bd2ae3880
parenta0f63e5dc7ab07e967a0b3c212352ba0e7ca372d (diff)
downloadsssd-86e0543186bfecb2f502cde4a7cedb0908c59e06.tar.gz
sssd-86e0543186bfecb2f502cde4a7cedb0908c59e06.tar.xz
sssd-86e0543186bfecb2f502cde4a7cedb0908c59e06.zip
Run 'make check' during rpmbuild
-rw-r--r--contrib/sssd.spec.in5
1 files changed, 4 insertions, 1 deletions
diff --git a/contrib/sssd.spec.in b/contrib/sssd.spec.in
index db1c0bc1e..95c6a11a4 100644
--- a/contrib/sssd.spec.in
+++ b/contrib/sssd.spec.in
@@ -68,6 +68,7 @@ BuildRequires: docbook-style-xsl
BuildRequires: krb5-devel
BuildRequires: c-ares-devel
BuildRequires: python-devel
+BuildRequires: check-devel
%description
Provides a set of daemons to manage access to remote directories and
@@ -194,7 +195,6 @@ A dynamically-growing, reference-counted array
NSS_LIBS=-lnss3 \
KRB5_LIBS=-lkrb5 \
%configure \
- --without-tests \
--with-db-path=%{dbpath} \
--with-pipe-path=%{pipepath} \
--with-pubconf-path=%{pubconfpath} \
@@ -205,6 +205,9 @@ KRB5_LIBS=-lkrb5 \
make %{?_smp_mflags}
+%check
+make %{?_smp_mflags} check
+
%install
rm -rf $RPM_BUILD_ROOT