[InsightToolkit] Enabled testing

mrceresa mrceresa at fedoraproject.org
Thu Aug 15 07:21:38 UTC 2013


commit 5215adce62baba61f1ed7eca07a912c53e6844ba
Author: Mario Ceresa <mrceresa at gmail.com>
Date:   Thu Aug 15 09:21:05 2013 +0200

    Enabled testing

 InsightToolkit.spec |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/InsightToolkit.spec b/InsightToolkit.spec
index 73af4f5..2401843 100644
--- a/InsightToolkit.spec
+++ b/InsightToolkit.spec
@@ -113,7 +113,7 @@ pushd %{_target_platform}
        -DBUILD_EXAMPLES:BOOL=ON \
        -DCMAKE_BUILD_TYPE:STRING="RelWithDebInfo"\
        -DCMAKE_VERBOSE_MAKEFILE=ON\
-       -DBUILD_TESTING=OFF\
+       -DBUILD_TESTING=ON\
        -DITKV3_COMPATIBILITY:BOOL=ON \
        -DITK_BUILD_ALL_MODULES:BOOL=ON \
        -DModule_ITKVtkGlue:BOOL=ON \
@@ -151,8 +151,7 @@ cp -ar Examples/* %{buildroot}%{_datadir}/%{name}/examples/
 %check
 # There are a couple of tests randomly failing on f19 and rawhide and I'm debugging
 # it with upstream. Making the tests informative for now
-#make test -C %{_target_platform} || exit 0
-exit 0
+make test -C %{_target_platform} || exit 0
 
 %post -p /sbin/ldconfig
 


More information about the scm-commits mailing list