File tree 1 file changed +20
-0
lines changed
1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -203,6 +203,26 @@ if(BUILD_TESTING)
203
203
set (TEST_MESSAGE_TYPES "" )
204
204
foreach (message_file ${message_files} )
205
205
get_filename_component (message_type "${message_file} " NAME_WE )
206
+ set (message_has_keys FALSE )
207
+ if (
208
+ "${message_type} " STREQUAL "KeyedString" OR
209
+ "${message_type} " STREQUAL "ComplexNestedKey"
210
+ )
211
+ set (message_has_keys TRUE )
212
+ endif ()
213
+
214
+ # TODO(MiguelCompany): Only fastrtps RMWs interoperate for keyed messages
215
+ if (
216
+ message_has_keys AND
217
+ (NOT "${rmw_implementation1} " STREQUAL "${rmw_implementation2} " ) AND
218
+ (
219
+ (NOT rmw_implementation1_is_fastrtps) OR
220
+ (NOT rmw_implementation2_is_fastrtps)
221
+ )
222
+ )
223
+ continue ()
224
+ endif ()
225
+
206
226
# TODO(dirk-thomas) WStrings published by FastRTPS can't be received
207
227
# correctly by Connext on macOS
208
228
if (
You can’t perform that action at this time.
0 commit comments