test.cmake.in 2.19 KB
Newer Older
Andy Cedilnik's avatar
Andy Cedilnik committed
1 2 3 4 5 6
# please see common.cmake for more documentation
###################################################################
# The values in this section must always be provided
###################################################################

# this is the cvs module name that should be checked out
7
SET (CTEST_MODULE_NAME kwsys)
Andy Cedilnik's avatar
Andy Cedilnik committed
8 9 10

# these are the the name of the source and binary directory on disk. 
# They will be appended to DASHBOARD_ROOT
11 12
SET (CTEST_SOURCE_NAME kwsys)
SET (CTEST_BINARY_NAME kwsysBin)
Andy Cedilnik's avatar
Andy Cedilnik committed
13 14 15

# which ctest command to use for running the dashboard
SET (CTEST_COMMAND 
16
  "\"${CTEST_EXECUTABLE_NAME}\" -D Experimental -A \"${CTEST_SCRIPT_DIRECTORY}/${CTEST_SCRIPT_NAME}\""
Andy Cedilnik's avatar
Andy Cedilnik committed
17 18 19
  )

# what cmake command to use for configuring this dashboard
20
GET_FILENAME_COMPONENT(CTEST_EXECUTABLE_PATH "${CTEST_EXECUTABLE_NAME}" PATH)
21
SET(CTEST_CMAKE_COMMAND "\"${CTEST_EXECUTABLE_PATH}/cmake\"")
22 23 24

MESSAGE("CTest executable: ${CTEST_EXECUTABLE_NAME}")
MESSAGE("CMake executable: ${CTEST_CMAKE_COMMAND}")
Andy Cedilnik's avatar
Andy Cedilnik committed
25 26 27 28 29 30 31 32 33 34 35 36 37


####################################################################
# The values in this section are optional you can either
# have them or leave them commented out
####################################################################

# should ctest wipe the binary tree before running
SET (CTEST_START_WITH_EMPTY_BINARY_DIRECTORY TRUE)

# this is the initial cache to use for the binary tree, be careful to escape
# any quotes inside of this string if you use it
SET (CTEST_INITIAL_CACHE "
38
SITE:STRING=@SITE@
39
BUILDNAME:STRING=KWSys-@BUILDNAME@
40
CMAKE_GENERATOR:INTERNAL=@CMAKE_GENERATOR@
Andy Cedilnik's avatar
Andy Cedilnik committed
41 42 43 44
CMAKE_CXX_FLAGS:STRING=@CMAKE_CXX_FLAGS@
CMAKE_C_FLAGS:STRING=@CMAKE_C_FLAGS@
DART_ROOT:PATH=
MAKECOMMAND:FILEPATH=@MAKECOMMAND@
45 46
MEMORYCHECK_COMMAND:STRING=@MEMORYCHECK_COMMAND@
COVERAGE_COMMAND:FILEPATH=@COVERAGE_COMMAND@
Andy Cedilnik's avatar
Andy Cedilnik committed
47 48 49 50 51
")

# if you do not want to use the default location for a 
# dashboard then set this variable to the directory
# the dashboard should be in
52
SET (CTEST_DASHBOARD_ROOT "@CMAKE_CURRENT_BINARY_DIR@/Tests/CTestTest")
Andy Cedilnik's avatar
Andy Cedilnik committed
53 54 55 56 57 58


# set any extra envionment varibles here
SET (CTEST_ENVIRONMENT
)

59
SET (CTEST_SOURCE_DIRECTORY "@CMake_SOURCE_DIR@/Source/kwsys")
60
SET (CTEST_BINARY_DIRECTORY "@CMake_BINARY_DIR@/Tests/CTestTest/${CTEST_BINARY_NAME}")