[InsightToolkit] Re-enable to build tests and examples

sebp sebp at fedoraproject.org
Sun Dec 29 17:11:42 UTC 2013


commit 8a877e175737697f323a65f837c49c5cdd2aebb1
Author: Sebastian Pölsterl <sebp at k-d-w.org>
Date:   Sun Dec 29 18:11:14 2013 +0100

    Re-enable to build tests and examples

 InsightToolkit.spec |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/InsightToolkit.spec b/InsightToolkit.spec
index 8a771e4..8393ec1 100644
--- a/InsightToolkit.spec
+++ b/InsightToolkit.spec
@@ -120,10 +120,10 @@ pushd %{_target_platform}
 
 %cmake .. \
        -DBUILD_SHARED_LIBS:BOOL=ON \
-       -DBUILD_EXAMPLES:BOOL=OFF \
+       -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_DEFAULT_MODULES:BOOL=ON \
        -DModule_ITKVtkGlue:BOOL=ON \
@@ -162,10 +162,10 @@ for f in LICENSE NOTICE README.txt ; do
     cp -p $f ${RPM_BUILD_ROOT}%{_docdir}/%{name}/${f}
 done
 
-#%check
+%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
+make test -C %{_target_platform} || exit 0
 
 %post -p /sbin/ldconfig
 


More information about the scm-commits mailing list