Added options for memcheck and coverage.
Disable it by default as only one machine should do this.
Этот коммит содержится в:
родитель
095f348172
Коммит
40d0ca7963
@ -1,13 +1,16 @@
|
||||
set(CTEST_SOURCE_DIRECTORY "$ENV{HOME}/workspace/tmp/dashboards/libssh/source")
|
||||
set(CTEST_BINARY_DIRECTORY "$ENV{HOME}/workspace/tmp/dashboards/libssh/build")
|
||||
|
||||
set(CTEST_SITE "magrathea.cynapses.org")
|
||||
set(CTEST_SITE "host.libssh.org")
|
||||
set(CTEST_BUILD_NAME "linux-gcc-default")
|
||||
|
||||
set(CTEST_CMAKE_GENERATOR "Unix Makefiles")
|
||||
set(CTEST_BUILD_CONFIGURATION "Profiling")
|
||||
set(CTEST_BUILD_OPTIONS "-DWITH_SSH1=ON -WITH_SFTP=ON -DWITH_SERVER=ON -DWITH_ZLIB=ON -DWITH_PCAP=ON -DWITH_GCRYPT=OFF")
|
||||
|
||||
set(WITH_MEMCHECK FALSE)
|
||||
set(WITH_COVERAGE FALSE)
|
||||
|
||||
#######################################################################
|
||||
|
||||
ctest_empty_binary_directory(${CTEST_BINARY_DIRECTORY})
|
||||
@ -34,6 +37,10 @@ ctest_update()
|
||||
ctest_configure()
|
||||
ctest_build()
|
||||
ctest_test()
|
||||
ctest_coverage()
|
||||
ctest_memcheck()
|
||||
if (WITH_MEMCHECK AND CTEST_COVERAGE_COMMAND)
|
||||
ctest_coverage()
|
||||
endif (WITH_MEMCHECK AND CTEST_COVERAGE_COMMAND)
|
||||
if (WITH_MEMCHECK AND CTEST_MEMORYCHECK_COMMAND)
|
||||
ctest_memcheck()
|
||||
endif (WITH_MEMCHECK AND CTEST_MEMORYCHECK_COMMAND)
|
||||
ctest_submit()
|
||||
|
Загрузка…
Ссылка в новой задаче
Block a user