68
68
COMMAND proto3_test
69
69
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} )
70
70
71
- set_property (TEST proto3_test PROPERTY ENVIRONMENT "ASAN_OPTIONS=detect_container_overflow=0" )
72
71
73
72
file (MAKE_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR} /non_owning" )
74
73
93
92
COMMAND non_owning_proto3_test
94
93
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} )
95
94
96
- set_property (TEST non_owning_proto3_test PROPERTY ENVIRONMENT "ASAN_OPTIONS=detect_container_overflow=0" )
97
-
98
95
add_library (non_owning_unittest_proto2_proto_lib INTERFACE
99
96
"${CMAKE_CURRENT_SOURCE_DIR} /google/protobuf/unittest.proto" )
100
97
target_include_directories (non_owning_unittest_proto2_proto_lib SYSTEM INTERFACE ${CMAKE_CURRENT_BINARY_DIR} )
@@ -110,8 +107,6 @@ else()
110
107
COMMAND non_owning_proto2_test
111
108
WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR} " )
112
109
113
- set_property (TEST non_owning_proto2_test PROPERTY ENVIRONMENT "ASAN_OPTIONS=detect_container_overflow=0" )
114
-
115
110
add_library (unittest_proto_lib INTERFACE "${CMAKE_CURRENT_SOURCE_DIR} /google/protobuf/unittest.proto" )
116
111
target_include_directories (unittest_proto_lib SYSTEM INTERFACE ${CMAKE_CURRENT_BINARY_DIR} )
117
112
protobuf_generate_hpp(
@@ -125,8 +120,6 @@ else()
125
120
COMMAND proto2_test
126
121
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} )
127
122
128
- set_property (TEST proto2_test PROPERTY ENVIRONMENT "ASAN_OPTIONS=detect_container_overflow=0" )
129
-
130
123
add_library (map_unittest_proto_lib INTERFACE "${CMAKE_CURRENT_SOURCE_DIR} /google/protobuf/map_unittest.proto" )
131
124
target_include_directories (map_unittest_proto_lib SYSTEM INTERFACE ${CMAKE_CURRENT_BINARY_DIR} )
132
125
protobuf_generate_hpp(
@@ -141,8 +134,6 @@ else()
141
134
COMMAND map_test
142
135
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} )
143
136
144
- set_property (TEST map_test PROPERTY ENVIRONMENT "ASAN_OPTIONS=detect_container_overflow=0" )
145
-
146
137
add_library (non_owning_map_unittest_proto_lib INTERFACE
147
138
"${CMAKE_CURRENT_SOURCE_DIR} /google/protobuf/map_unittest.proto" )
148
139
target_include_directories (non_owning_map_unittest_proto_lib SYSTEM INTERFACE ${CMAKE_CURRENT_BINARY_DIR} )
@@ -202,8 +193,6 @@ else()
202
193
COMMAND dynamic_serializer_tests
203
194
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} )
204
195
205
- set_property (TEST dynamic_serializer_tests PROPERTY ENVIRONMENT "ASAN_OPTIONS=detect_container_overflow=0" )
206
-
207
196
add_executable (dynamic_serializer_coverage_tests dynamic_serializer_coverage_tests.cpp)
208
197
target_link_libraries (dynamic_serializer_coverage_tests PRIVATE hpp_proto::libhpp_proto Boost::ut glaze::glaze unittest_proto3_proto_lib)
209
198
add_hpp_proto_test(dynamic_serializer_coverage_tests)
@@ -215,7 +204,6 @@ else()
215
204
add_test (NAME well_known_types_tests
216
205
COMMAND well_known_types_tests
217
206
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} )
218
- set_property (TEST well_known_types_tests PROPERTY ENVIRONMENT "ASAN_OPTIONS=detect_container_overflow=0" )
219
207
else ()
220
208
message (WARNING "No proto file for well known types are found, all tests involves well known types are skipped." )
221
209
endif (Protobuf_INCLUDE_DIRS)
@@ -251,8 +239,6 @@ else()
251
239
COMMAND lite_test
252
240
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} )
253
241
254
- set_property (TEST lite_test PROPERTY ENVIRONMENT "ASAN_OPTIONS=detect_container_overflow=0" )
255
-
256
242
add_library (editions_test_lib INTERFACE "basic_test_editions.proto" "editions_test.proto" )
257
243
target_include_directories (editions_test_lib SYSTEM INTERFACE ${CMAKE_CURRENT_BINARY_DIR} )
258
244
protobuf_generate_hpp(
0 commit comments