-
Notifications
You must be signed in to change notification settings - Fork 16
/
CTestCustom.cmake.in
63 lines (50 loc) · 2.49 KB
/
CTestCustom.cmake.in
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
59
60
61
62
63
##============================================================================
## Copyright (c) Kitware, Inc.
## All rights reserved.
## See LICENSE.txt for details.
##
## This software is distributed WITHOUT ANY WARRANTY; without even
## the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
## PURPOSE. See the above copyright notice for more information.
##============================================================================
list(APPEND CTEST_CUSTOM_WARNING_EXCEPTION
".*warning: ignoring loop annotation.*"
".*warning: Included by graph for.*not generated, too many nodes. Consider increasing DOT_GRAPH_MAX_NODES.*"
# disable doxygen warnings about no matching members caused by auto keyword
".*warning: no matching file member found for.*"
# disable doxygen warning from VTKM_DEPRECATED usage
".*warning: Found.*while parsing initializer list!.*"
# disable doxygen warning about potential recursion.
".*warning: Detected potential recursive class relation between .*"
# disable doxygen warning about not generating graph
".*warning: Included by graph for"
# Doxygen warns when creating output directory:
"Notice: Output directory.*does not exist. I have created it for you."
# disable doxygen warnings from CONTRIBUTING.md, CodingConventions.md.
# these files are really intended for Gitlab, hence we don't want to use
# doxygen tags in them.
"CONTRIBUTING.md.*warning"
"CodingConventions.md.*warning"
# disable static/dynamic weak symbol warnings
".*ld: warning: direct access in function.*"
# disable nvlink warnings about arch not found
# These indicate that a flag like -arch is missing from the link command.
# I am seeing these for the Kokkos builds, and I don't want to fight the
# compiler flags there, so I'm just going to suppress those.
".*nvlink warning.*SM Arch.*not found in.*"
# Disable warnings about third party libraries.
# Normally compilers do not generate warnings for includes using -isystem,
# however, that is not always the case, specially in exotic systems such as
# OLCF Ascent/Summit
".*vtkm/thirdparty.*"
)
list(APPEND CTEST_CUSTOM_WARNING_MATCH
# Let CUDA compiler warn us about recursive functions we should avoid.
".*nvlink warning.*"
)
## Sometimes a few test hangs in HIP disable repeat until_pass for HIP builds
set(CTEST_REPEAT_UNTIL_PASS 3)
if (NOT x"@CMAKE_HIP_COMPILER@"x STREQUAL xx)
set(CTEST_REPEAT_UNTIL_PASS 0)
endif()
set(VTKm_ENABLE_PERFORMANCE_TESTING "@VTKm_ENABLE_PERFORMANCE_TESTING@")