Use ctest -j to speed up tests for release builds.
[cmake.git] / Templates / CTestScript.cmake.in
blob63bd26f475b8c713bb7d26a50480c3c860ba23af
1 CMAKE_MINIMUM_REQUIRED(VERSION 2.4)
3 # This is a template for the CTest script for this system
5 SET(CTEST_SITE                          "@SITE@")
6 SET(CTEST_BUILD_NAME                    "@BUILDNAME@")
8 # ---
9 SET(CTEST_SOURCE_DIRECTORY              "@CMAKE_SOURCE_DIR@")
10 SET(CTEST_BINARY_DIRECTORY              "@CMAKE_BINARY_DIR@")
11 SET(CTEST_UPDATE_COMMAND                "@UPDATE_COMMAND@")
12 SET(CTEST_UPDATE_OPTIONS                "@UPDATE_OPTIONS@")
13 SET(CTEST_CMAKE_GENERATOR               "@CMAKE_GENERATOR@")
14 SET(CTEST_BUILD_CONFIGURATION           "Release")
15 #SET(CTEST_MEMORYCHECK_COMMAND           "@MEMORYCHECK_COMMAND@")
16 #SET(CTEST_MEMORYCHECK_SUPPRESSIONS_FILE "@MEMORYCHECK_SUPPRESSIONS_FILE@")
17 #SET(CTEST_MEMORYCHECK_COMMAND_OPTIONS   "@MEMORYCHECK_COMMAND_OPTIONS@")
18 #SET(CTEST_COVERAGE_COMMAND              "@COVERAGE_COMMAND@")
19 SET(CTEST_NOTES_FILES                   "${CTEST_SCRIPT_DIRECTORY}/${CTEST_SCRIPT_NAME}")
21 #CTEST_EMPTY_BINARY_DIRECTORY(${CTEST_BINARY_DIRECTORY})
23 SET(CTEST_DROP_METHOD "@DROP_METHOD@")
25 CTEST_START(Experimental TRACK Weekly)
26 CTEST_UPDATE(SOURCE "${CTEST_SOURCE_DIRECTORY}")
27 CTEST_CONFIGURE(BUILD "${CTEST_BINARY_DIRECTORY}")
28 CTEST_READ_CUSTOM_FILES("${CTEST_BINARY_DIRECTORY}")
29 CTEST_BUILD(BUILD "${CTEST_BINARY_DIRECTORY}")
30 CTEST_TEST(BUILD "${CTEST_BINARY_DIRECTORY}")
31 #CTEST_MEMCHECK(BUILD "${CTEST_BINARY_DIRECTORY}")
32 #CTEST_COVERAGE(BUILD "${CTEST_BINARY_DIRECTORY}")
33 CTEST_SUBMIT()