Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Put a 300 seconds timeout on each test with ctest
authorAugustin Degomme <augustin.degomme@imag.fr>
Tue, 9 Dec 2014 15:37:00 +0000 (16:37 +0100)
committerAugustin Degomme <augustin.degomme@imag.fr>
Tue, 9 Dec 2014 15:37:00 +0000 (16:37 +0100)
This should really be enough (the default was 1500...)

buildtools/Cmake/CTestConfig.cmake

index 04854c2..bb6e9fa 100644 (file)
@@ -10,9 +10,7 @@ else()
   endif()
 endif()
 
   endif()
 endif()
 
-if(enable_memcheck)
-  set(CTEST_TIMEOUT "300") #TIMEOUT FOR EACH TEST
-endif()
+  set(DART_TESTING_TIMEOUT "300") #TIMEOUT FOR EACH TEST
 
 if(enable_compile_warnings AND enable_compile_optimizations)
   SET(BUILDNAME "FULL_FLAGS" CACHE TYPE INTERNAL FORCE)
 
 if(enable_compile_warnings AND enable_compile_optimizations)
   SET(BUILDNAME "FULL_FLAGS" CACHE TYPE INTERNAL FORCE)