test.cmake.in 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. # please see common.cmake for more documentation
  2. ###################################################################
  3. # The values in this section must always be provided
  4. ###################################################################
  5. # this is the cvs module name that should be checked out
  6. SET (CTEST_MODULE_NAME CMake)
  7. # these are the the name of the source and binary directory on disk.
  8. # They will be appended to DASHBOARD_ROOT
  9. SET (CTEST_SOURCE_NAME CMake)
  10. SET (CTEST_BINARY_NAME CMakeBin)
  11. SET (CTEST_NOTES_FILE "@CMAKE_CURRENT_BINARY_DIR@/Note.txt")
  12. # which ctest command to use for running the dashboard
  13. SET (CTEST_COMMAND
  14. "\"@CTEST_COMMAND@\" -T Start -T Configure -T Build -T Test -T Submit -M Experimental -A ${CTEST_NOTES_FILE} -R SystemInformation -E CTestTest"
  15. )
  16. # what cmake command to use for configuring this dashboard
  17. SET (CTEST_CMAKE_COMMAND
  18. "\"@CMAKE_COMMAND@\""
  19. )
  20. ####################################################################
  21. # The values in this section are optional you can either
  22. # have them or leave them commented out
  23. ####################################################################
  24. # should ctest wipe the binary tree before running
  25. SET (CTEST_START_WITH_EMPTY_BINARY_DIRECTORY TRUE)
  26. # this is the initial cache to use for the binary tree, be careful to escape
  27. # any quotes inside of this string if you use it
  28. SET (CTEST_INITIAL_CACHE "
  29. SITE:STRING=TestingOfCTest
  30. BUILDNAME:STRING=@BUILDNAME@
  31. CMAKE_CXX_FLAGS:STRING=@CMAKE_CXX_FLAGS@
  32. CMAKE_C_FLAGS:STRING=@CMAKE_C_FLAGS@
  33. DART_ROOT:PATH=
  34. MAKECOMMAND:FILEPATH=@MAKECOMMAND@
  35. MEMORYCHECK_COMMAND:STRING=
  36. ")
  37. # if you do not want to use the default location for a
  38. # dashboard then set this variable to the directory
  39. # the dashboard should be in
  40. SET (CTEST_DASHBOARD_ROOT "@CMAKE_CURRENT_BINARY_DIR@")
  41. # set any extra envionment varibles here
  42. SET (CTEST_ENVIRONMENT
  43. )
  44. FILE(WRITE "${CTEST_NOTES_FILE}"
  45. "This is a test of CTest\n")
  46. SET (CTEST_SOURCE_DIRECTORY "@CMAKE_ROOT@")
  47. SET (CTEST_BINARY_DIRECTORY "@CMAKE_CURRENT_BINARY_DIR@/${CTEST_BINARY_NAME}")