build the tests first
authorDuncan Mac-Vicar P <dmacvicar@suse.de>
Wed, 25 Feb 2009 13:00:58 +0000 (14:00 +0100)
committerDuncan Mac-Vicar P <dmacvicar@suse.de>
Wed, 25 Feb 2009 13:00:58 +0000 (14:00 +0100)
libzypp.spec.cmake

index 9dcc7ef..f9575bb 100644 (file)
@@ -120,7 +120,10 @@ make -C doc/autodoc %{?jobs:-j %jobs}
 make -C po %{?jobs:-j %jobs} translations
 
 %if 0%{?run_testsuite}
-  ctest .
+  make -C tests %{?jobs:-j %jobs}
+  pushd tests
+  ctest -A
+  popd
 %endif
 
 #make check