mirror of
https://git.gfz-potsdam.de/naaice/iphreeqc.git
synced 2025-12-15 16:18:22 +01:00
Adding submission to cdash
This commit is contained in:
parent
4eef971052
commit
df7a58898e
3
.gitignore
vendored
3
.gitignore
vendored
@ -209,3 +209,6 @@ doc/RELEASE
|
|||||||
/unit/unit.opt
|
/unit/unit.opt
|
||||||
/unit/unit.plg
|
/unit/unit.plg
|
||||||
/unit/x64
|
/unit/x64
|
||||||
|
|
||||||
|
# builds (folders beginning with _ (underscore)
|
||||||
|
/_*
|
||||||
@ -1,5 +1,5 @@
|
|||||||
# CMAKE_MSVC_RUNTIME_LIBRARY requires 3.15
|
# CMAKE_MSVC_RUNTIME_LIBRARY requires 3.15
|
||||||
cmake_minimum_required(VERSION 3.15)
|
cmake_minimum_required(VERSION 3.20)
|
||||||
|
|
||||||
project (
|
project (
|
||||||
IPhreeqc
|
IPhreeqc
|
||||||
|
|||||||
@ -1 +1,16 @@
|
|||||||
set (CTEST_PROJECT_NAME "IPhreeqc")
|
## 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 "iphreeqc")
|
||||||
|
set(CTEST_NIGHTLY_START_TIME "01:00:00 UTC")
|
||||||
|
|
||||||
|
set(CTEST_DROP_METHOD "https")
|
||||||
|
set(CTEST_DROP_SITE "my.cdash.org")
|
||||||
|
set(CTEST_DROP_LOCATION "/submit.php?project=iphreeqc")
|
||||||
|
set(CTEST_DROP_SITE_CDASH TRUE)
|
||||||
|
|
||||||
|
|||||||
32
ctest.cmake
Normal file
32
ctest.cmake
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
include(CTestConfig.cmake)
|
||||||
|
|
||||||
|
site_name(CTEST_SITE)
|
||||||
|
set(CTEST_BUILD_NAME ${CMAKE_HOST_SYSTEM_NAME})
|
||||||
|
|
||||||
|
set(CTEST_SOURCE_DIRECTORY "${CTEST_SCRIPT_DIRECTORY}")
|
||||||
|
set(CTEST_BINARY_DIRECTORY "${CTEST_SCRIPT_DIRECTORY}/_ctest")
|
||||||
|
|
||||||
|
##set(ENV{CXXFLAGS} "--coverage")
|
||||||
|
set(CTEST_CMAKE_GENERATOR Ninja)
|
||||||
|
set(CTEST_CONFIGURATION_TYPE Debug)
|
||||||
|
set(CTEST_BUILD_CONFIGURATION Debug)
|
||||||
|
set(CTEST_USE_LAUNCHERS 1)
|
||||||
|
|
||||||
|
set(CTEST_UPDATE_TYPE git)
|
||||||
|
set(CTEST_UPDATE_COMMAND git)
|
||||||
|
set(CTEST_UPDATE_VERSION_ONLY TRUE)
|
||||||
|
|
||||||
|
##set(CTEST_COVERAGE_COMMAND "gcov")
|
||||||
|
find_program(CTEST_MEMORYCHECK_COMMAND NAMES valgrind)
|
||||||
|
|
||||||
|
ctest_empty_binary_directory(${CTEST_BINARY_DIRECTORY})
|
||||||
|
ctest_start("Continuous")
|
||||||
|
ctest_update()
|
||||||
|
ctest_configure()
|
||||||
|
ctest_build()
|
||||||
|
ctest_test()
|
||||||
|
#ctest_coverage()
|
||||||
|
if (CTEST_MEMORYCHECK_COMMAND)
|
||||||
|
ctest_memcheck()
|
||||||
|
endif()
|
||||||
|
ctest_submit()
|
||||||
Loading…
x
Reference in New Issue
Block a user