From 4b6506b7cd1331a2d857eec069f2fbb7075739fb Mon Sep 17 00:00:00 2001 From: =?utf8?q?Klaus=20K=C3=A4mpf?= Date: Wed, 25 Feb 2009 13:29:28 +0100 Subject: [PATCH] Fix test, run it during build --- package/libsatsolver.spec.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package/libsatsolver.spec.in b/package/libsatsolver.spec.in index 2fe8e4b..1cc79a3 100644 --- a/package/libsatsolver.spec.in +++ b/package/libsatsolver.spec.in @@ -126,6 +126,10 @@ cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} \ make %{?jobs:-j %jobs} make doc_forced +%if 0%{?run_testsuite} + ctest . +%endif + %install make DESTDIR=$RPM_BUILD_ROOT install # we want to leave the .a file untouched -- 2.7.4