1 set(CTEST_PROJECT_NAME "MoFEM-UsersModules")
2 set(CTEST_CMAKE_GENERATOR "Unix Makefiles")
3 set(CTEST_BUILD_CONFIGURATION "Debug")
5 ctest_empty_binary_directory(${CTEST_BINARY_DIRECTORY})
7 find_program(CTEST_COVERAGE_COMMAND NAMES gcov)
9 set(CTEST_CONFIGURE_COMMAND "\"${CMAKE_COMMAND}\" -DCMAKE_BUILD_TYPE:STRING=${CTEST_BUILD_CONFIGURATION}")
10 set(CTEST_CONFIGURE_COMMAND "${CTEST_CONFIGURE_COMMAND} ${CTEST_BUILD_OPTIONS} -DWITHCOVERAGE=ON")
11 set(CTEST_CONFIGURE_COMMAND "${CTEST_CONFIGURE_COMMAND} \"-G${CTEST_CMAKE_GENERATOR}\"")
12 set(CTEST_CONFIGURE_COMMAND "${CTEST_CONFIGURE_COMMAND} \"${CTEST_SOURCE_DIRECTORY}\"")
15 set(CTEST_TEST_TIMEOUT 1200)
17 # Perform the CDashTesting
18 ctest_start(${DASHBOARDTEST})
20 set(CTEST_CUSTOM_MEMCHECK_IGNORE
21 ${CTEST_CUSTOM_MEMCHECK_IGNORE}
26 ctest_build(TARGET checkout_CDashTesting)
27 ctest_build(TARGET update_users_modules)
30 if(CTEST_COVERAGE_COMMAND)
32 endif(CTEST_COVERAGE_COMMAND)