-
Notifications
You must be signed in to change notification settings - Fork 1
/
CTestConfig.cmake
47 lines (43 loc) · 1.69 KB
/
CTestConfig.cmake
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
## 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 use Dart and CDash
set(CTEST_PROJECT_NAME "OpenStudio")
set(CTEST_NIGHTLY_START_TIME "00:00:00 MST")
set(CTEST_DROP_METHOD "http")
set(CTEST_DROP_SITE "my.cdash.org")
set(CTEST_DROP_LOCATION "/submit.php?project=OpenStudio")
set(CTEST_DROP_SITE_CDASH TRUE)
#set(CTEST_USE_LAUNCHERS 1) # Wraps all build and test processes so that more detailed reports can be pushed to CDash
# no memory check suppressions
set(CTEST_MEMORYCHECK_SUPPRESSIONS_FILE "")
# custom src excludes and exclude generated code and unit tests
set(CTEST_CUSTOM_COVERAGE_EXCLUDE
"${CTEST_SOURCE_DIRECTORY}/openstudiocore/src/boost-log"
"${CTEST_SOURCE_DIRECTORY}/openstudiocore/src/clips"
"${CTEST_SOURCE_DIRECTORY}/openstudiocore/src/expat"
"${CTEST_SOURCE_DIRECTORY}/openstudiocore/src/gen_iddfactory"
"${CTEST_SOURCE_DIRECTORY}/openstudiocore/src/gtest"
"${CTEST_SOURCE_DIRECTORY}/openstudiocore/src/libssh"
"${CTEST_SOURCE_DIRECTORY}/openstudiocore/src/litesql"
"${CTEST_SOURCE_DIRECTORY}/openstudiocore/src/qwt"
"${CTEST_SOURCE_DIRECTORY}/openstudiocore/src/utilities/sql/Sqlite3.h"
"${CTEST_SOURCE_DIRECTORY}/openstudiocore/src/utilities/sql/Sqlite3.c"
"${CTEST_BUILD_DIRECTORY}"
"hxx$"
"cxx$"
"Test.h$"
"Test.hpp$"
"Test.cpp$"
"Fixture.h$"
"Fixture.hpp$"
"Fixture.cpp$"
)
set(CTEST_CUSTOM_WARNING_EXCEPTION
${CTEST_CUSTOM_WARNING_EXCEPTION}
".*/VTK-prefix/src/VTK/.*"
".*/src/libssh/.*"
".*/src/sqlite/.*"
".*/src/litesql/.*"
".*warning: variable 'klass' set but not used.*"
)