MpdRoot_test1.cmake 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. SET(MODEL Experimental)
  2. IF(${CTEST_SCRIPT_ARG} MATCHES Nightly)
  3. SET(MODEL Nightly)
  4. ENDIF(${CTEST_SCRIPT_ARG} MATCHES Nightly)
  5. SET (CTEST_COMMAND
  6. "ctest -D ${MODEL}Start -D ${MODEL}Update -D ${MODEL}Configure -D ${MODEL}Submit"
  7. )
  8. SET (CTEST_SOURCE_DIRECTORY $ENV{SOURCEDIR})
  9. SET (CTEST_BINARY_DIRECTORY $ENV{BUILDDIR})
  10. SET (CTEST_UPDATE_COMMAND "/usr/bin/svn")
  11. SET (CTEST_UPDATE_CHECKOUT " ${CTEST_UPDATE_COMMAND} update ")
  12. # what cmake command to use for configuring this dashboard
  13. SET (CTEST_CMAKE_COMMAND
  14. "cmake"
  15. )
  16. ####################################################################
  17. # The values in this section are optional you can either
  18. # have them or leave them commented out
  19. ####################################################################
  20. # should ctest wipe the binary tree before running
  21. #SET (CTEST_START_WITH_EMPTY_BINARY_DIRECTORY TRUE)
  22. CTEST_EMPTY_BINARY_DIRECTORY(${CTEST_BINARY_DIRECTORY})
  23. # this is the initial cache to use for the binary tree, be careful to escape
  24. # any quotes inside of this string if you use it
  25. SET (CTEST_INITIAL_CACHE "
  26. BUILDNAME:STRING=$ENV{LABEL}
  27. SITE:STRING=$ENV{SITE}
  28. ")
  29. # set any extra environment variables here
  30. #SET (CTEST_ENVIRONMENT
  31. #)
  32. #CTEST_START (${MODEL})
  33. #CTEST_UPDATE (SOURCE "${CTEST_SOURCE_DIRECTORY}")
  34. #CTEST_CONFIGURE (BUILD "${CTEST_BINARY_DIRECTORY}")
  35. #CTEST_BUILD (BUILD "${CTEST_BINARY_DIRECTORY}")
  36. #CTEST_TEST (BUILD "${CTEST_BINARY_DIRECTORY}")
  37. #CTEST_SUBMIT ()