summaryrefslogtreecommitdiff
path: root/libzypp-bindings.spec.cmake
diff options
context:
space:
mode:
authorKlaus Kämpf <kkaempf@suse.de>2010-11-08 16:33:01 +0100
committerKlaus Kämpf <kkaempf@suse.de>2010-11-08 16:33:01 +0100
commit68e8aef38a7de70403a31a0a54bd52c846ca43af (patch)
tree1109ec0c115778678fd1a13fc054ebdd055bcae5 /libzypp-bindings.spec.cmake
parent3633140b427f5ed62de80994192197a6ac3fddd2 (diff)
downloadlibzypp-bindings-68e8aef38a7de70403a31a0a54bd52c846ca43af.tar.gz
libzypp-bindings-68e8aef38a7de70403a31a0a54bd52c846ca43af.tar.bz2
libzypp-bindings-68e8aef38a7de70403a31a0a54bd52c846ca43af.zip
Enable test during package build
Diffstat (limited to 'libzypp-bindings.spec.cmake')
-rw-r--r--libzypp-bindings.spec.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/libzypp-bindings.spec.cmake b/libzypp-bindings.spec.cmake
index edbb870..7e6c87c 100644
--- a/libzypp-bindings.spec.cmake
+++ b/libzypp-bindings.spec.cmake
@@ -42,6 +42,10 @@ cmake -DCMAKE_INSTALL_PREFIX=%{prefix} \
..
make %{?jobs:-j %jobs}
+%test
+cd build
+make test
+
%install
cd build
make install DESTDIR=$RPM_BUILD_ROOT