-
Notifications
You must be signed in to change notification settings - Fork 57
/
CTestCustom.cmake
90 lines (70 loc) · 2.53 KB
/
CTestCustom.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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
# Some of the tests currently fail when run under some sanitizers, ignore them
# for now (but report that they have been ignored). This allows us to still run
# this in CI
# See: https://gitlab.kitware.com/cmake/community/-/wikis/doc/ctest/Testing-With-CTest#customizing-ctest
# "Integration style tests" pretty much all have problems at the moment with any
# sanitizer
if ((NOT "@FORCE_RUN_ALL_TESTS@" STREQUAL "ON") AND (NOT "@USE_SANITIZER@" STREQUAL ""))
set(CTEST_CUSTOM_TESTS_IGNORE
${CTEST_CUSTOM_TESTS_IGNORE}
read_and_write_associated
check_benchmark_outputs
read_frame_legacy_root
read_frame_root_multiple
write_python_frame_root
read_python_frame_root
read_and_write_frame_root
param_reading_rdataframe
write_frame_root
read_frame_root
write_interface_root
read_interface_root
write_python_frame_sio
read_python_frame_sio
relation_range
pyunittest
podio-dump-help
podio-dump-root
podio-dump-detailed-root
podio-dump-legacy_root_v00-16-06
podio-dump-legacy_root-detailed_v00-16-06
podio-dump-sio
podio-dump-detailed-sio
podio-dump-legacy_sio_v00-16-06
podio-dump-legacy_sio-detailed_v00-16-06
datamodel_def_store_roundtrip_root
datamodel_def_store_roundtrip_root_extension
datamodel_def_store_roundtrip_sio
datamodel_def_store_roundtrip_sio_extension
write_old_data_root
read_new_data_root
)
foreach(version in @root_legacy_test_versions@)
list(APPEND CTEST_CUSTOM_TESTS_IGNORE read_frame_root_${version})
list(APPEND CTEST_CUSTOM_TESTS_IGNORE read_frame_legacy_root_${version})
endforeach()
foreach(version in @sio_legacy_test_versions@)
list(APPEND CTEST_CUSTOM_TESTS_IGNORE read_frame_sio_${version})
list(APPEND CTEST_CUSTOM_TESTS_IGNORE read_frame_legacy_sio_${version})
endforeach()
# ostream_operator is working with Memory sanitizer (at least locally)
if("@USE_SANITIZER@" MATCHES "Memory(WithOrigin)?")
list(REMOVE_ITEM CTEST_CUSTOM_TESTS_IGNORE ostream_operator)
endif()
# There is still an (indirect) leak somewhere in the collection buffer
# machinery before they hit the collections.
# See also https://github.com/AIDASoft/podio/issues/506
if("@USE_SANITIZER@" MATCHES "Address")
set(CTEST_CUSTOM_TESTS_IGNORE
${CTEST_CUSTOM_TESTS_IGNORE}
read_sio
read_and_write_sio
write_timed_sio
read_timed_sio
read_frame_sio
read_interface_sio
read_frame_legacy_sio
read_and_write_frame_sio
)
endif()
endif()