v0.14.0
test.cmake
Go to the documentation of this file.
1 set(CTEST_PROJECT_NAME "usersmodules-mofem")
2 set(CTEST_NIGHTLY_START_TIME "01:00:00 UTC")
3 
4 set(CTEST_DROP_METHOD "http")
5 set(CTEST_DROP_SITE "cdash.eng.gla.ac.uk")
6 set(CTEST_DROP_LOCATION "/cdash/submit.php?project=usersmodules-mofem")
7 set(CTEST_DROP_SITE_CDASH TRUE)
8 
9 set(CTEST_SOURCE_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR})
10 set(CTEST_BINARY_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR})
11 
12 set(CTEST_SITE "Runner")
13 set(CTEST_BRANCH "$ENV{BITBUCKET_BRANCH}")
14 set(CTEST_BUILD_NAME "AdolCPlasticity(${CTEST_BRANCH})")
15 
16 find_program(CTEST_BUILD_COMMAND NAMES make)
17 
18 find_program(CTEST_MEMORYCHECK_COMMAND NAMES valgrind)
19 set(CTEST_MEMORYCHECK_COMMAND_OPTIONS "--trace-children=yes --leak-check=yes")
20 
21 ctest_start(Experimental)
22 
23 ctest_build()
24 # if(CTEST_MEMORYCHECK_COMMAND)
25 # ctest_memcheck()
26 # endif(CTEST_MEMORYCHECK_COMMAND)
27 ctest_test()
28 #if(CTEST_COVERAGE_COMMAND)
29 # ctest_coverage()
30 #endif(CTEST_COVERAGE_COMMAND)
31 ctest_submit()