X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/234ae403478cdecaa20912b4d549bc50919ccda9..e6116c4e424051df387c1650935fa658de5f500f:/buildtools/Cmake/CTestConfig.cmake diff --git a/buildtools/Cmake/CTestConfig.cmake b/buildtools/Cmake/CTestConfig.cmake index 062f187c2e..66268f7f44 100644 --- a/buildtools/Cmake/CTestConfig.cmake +++ b/buildtools/Cmake/CTestConfig.cmake @@ -2,7 +2,9 @@ # http://www.cmake.org/Wiki/CMake_Testing_With_CTest#Customizing_CTest SET(BUILDNAME "none" CACHE TYPE INTERNAL FORCE) - +if(enable_memcheck) + set(CTEST_TIMEOUT "300") #TIMEOUT FOR EACH TEST +endif(enable_memcheck) if(with_context MATCHES ucontext AND NOT supernovae) SET(BUILDNAME "UCONTEXT" CACHE TYPE INTERNAL FORCE) endif(with_context MATCHES ucontext AND NOT supernovae)