forked from dealii/dealii
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CTestConfig.cmake
58 lines (49 loc) · 1.6 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
48
49
50
51
52
53
54
55
56
57
58
## ---------------------------------------------------------------------
##
## Copyright (C) 2013 by the deal.II authors
##
## This file is part of the deal.II library.
##
## The deal.II library is free software; you can use it, redistribute
## it, and/or modify it under the terms of the GNU Lesser General
## Public License as published by the Free Software Foundation; either
## version 2.1 of the License, or (at your option) any later version.
## The full text of the license can be found in the file LICENSE.md at
## the top level directory of deal.II.
##
## ---------------------------------------------------------------------
#
# Dashboard configuration:
#
SET(CTEST_PROJECT_NAME "deal.II")
SET(CTEST_DROP_METHOD "https")
SET(CTEST_DROP_SITE "cdash.dealii.org")
SET(CTEST_DROP_LOCATION "/submit.php?project=deal.II")
SET(CTEST_DROP_SITE_CDASH TRUE)
#
# We use the CTEST_UPDATE routine to query information about the repository
# but we don't want to actually perform an update. Thus, replace the update
# by a noop:
#
SET(CTEST_GIT_COMMAND "git")
SET(CTEST_UPDATE_VERSION_ONLY true)
SET(CTEST_CUSTOM_MAXIMUM_NUMBER_OF_ERRORS 100)
SET(CTEST_CUSTOM_MAXIMUM_NUMBER_OF_WARNINGS 300)
# number of lines to submit before an error:
SET(CTEST_CUSTOM_ERROR_PRE_CONTEXT 5)
# number of lines to submit after an error:
SET(CTEST_CUSTOM_ERROR_POST_CONTEXT 20)
#
# Coverage options:
#
SET(CTEST_EXTRA_COVERAGE_GLOB
# These files should have executable lines and therefore coverage:
# source/**/*.cc
)
SET(CTEST_CUSTOM_COVERAGE_EXCLUDE
"/bundled"
"/cmake/scripts/"
"/contrib"
"/examples"
"/tests"
)