Enable test during package build
authorKlaus Kämpf <kkaempf@suse.de>
Mon, 8 Nov 2010 15:33:01 +0000 (16:33 +0100)
committerKlaus Kämpf <kkaempf@suse.de>
Mon, 8 Nov 2010 15:33:01 +0000 (16:33 +0100)
libzypp-bindings.spec.cmake

index edbb870..7e6c87c 100644 (file)
@@ -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