2013-09-04 04:55:40 +00:00
|
|
|
## This file should be placed in the root directory of your project.
|
|
|
|
## Then modify the CMakeLists.txt file in the root directory of your
|
|
|
|
## project to incorporate the testing dashboard.
|
|
|
|
##
|
|
|
|
## # The following are required to submit to the CDash dashboard:
|
|
|
|
## ENABLE_TESTING()
|
|
|
|
## INCLUDE(CTest)
|
|
|
|
|
|
|
|
set(CTEST_PROJECT_NAME "Lean")
|
|
|
|
set(CTEST_NIGHTLY_START_TIME "00:00:00 EST")
|
|
|
|
|
2013-09-10 19:34:08 +00:00
|
|
|
# Specify MEMCHECK Option: http://valgrind.org/docs/manual/mc-manual.html
|
2013-09-10 17:47:04 +00:00
|
|
|
# Note: We use "--trace-children=yes" to valgrind-ise child processes (follow execve)
|
2013-09-10 19:34:08 +00:00
|
|
|
# Note: We turn off "--show-reachable=yes" option.
|
2013-09-15 08:15:04 +00:00
|
|
|
#set(MEMORYCHECK_SUPPRESSIONS_FILE ${CMAKE_SOURCE_DIR}/memcheck.supp)
|
|
|
|
file(TO_CMAKE_PATH "${CMAKE_SOURCE_DIR}/memcheck.supp" MEMORYCHECK_SUPPRESSIONS_FILE)
|
2013-09-25 04:36:03 +00:00
|
|
|
set(VALGRIND_COMMAND_OPTIONS "-q --tool=memcheck --leak-check=yes --workaround-gcc296-bugs=yes --num-callers=50 --trace-children=yes --leak-check=full --track-origins=yes --gen-suppressions=all")
|
2013-09-25 04:46:51 +00:00
|
|
|
set(MEMORYCHECK_COMMAND_OPTIONS "-q --tool=memcheck --leak-check=yes --workaround-gcc296-bugs=yes --num-callers=50 --trace-children=yes --leak-check=full --track-origins=yes --gen-suppressions=all")
|
2013-09-04 10:41:31 +00:00
|
|
|
|
2013-09-04 04:55:40 +00:00
|
|
|
set(CTEST_DROP_METHOD "http")
|
2013-09-04 10:41:31 +00:00
|
|
|
set(CTEST_DROP_SITE "cmacslab2.modck.cs.cmu.edu")
|
|
|
|
set(CTEST_DROP_LOCATION "/CDash-2-0-2/submit.php?project=Lean")
|
2013-09-04 04:55:40 +00:00
|
|
|
set(CTEST_DROP_SITE_CDASH TRUE)
|
|
|
|
|
|
|
|
set(UPDATE_COMMAND "git")
|
2013-09-04 12:07:24 +00:00
|
|
|
set(COVERAGE_COMMAND "gcov-4.8")
|