Disable testing if BUILD_ENGINE_C=ON (they fail)
authorGianfranco Costamagna <costamagnagianfranco@yahoo.it>
Fri, 28 Nov 2014 16:03:35 +0100
changeset 10561 8b65886906f3
parent 10559 44095e0a0c1a
child 10563 247e36ba2814
Disable testing if BUILD_ENGINE_C=ON (they fail)
CMakeLists.txt
--- a/CMakeLists.txt	Wed Nov 26 13:10:09 2014 +0100
+++ b/CMakeLists.txt	Fri Nov 28 16:03:35 2014 +0100
@@ -230,7 +230,9 @@
 
 include(${CMAKE_MODULE_PATH}/cpackvars.cmake)
 
+if(NOT BUILD_ENGINE_C)
 enable_testing()
+endif(NOT BUILD_ENGINE_C)
 add_custom_target(test         COMMAND ${CMAKE_CTEST_COMMAND} -E '^todo/' --timeout 300 --schedule-random)
 add_custom_target(test_verbose COMMAND ${CMAKE_CTEST_COMMAND} -E '^todo/' --timeout 300 --schedule-random -V)