File tree Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -241,6 +241,26 @@ if(BUILD_TESTING)
241241 set (TEST_MESSAGE_TYPES "" )
242242 foreach (message_file ${message_files} )
243243 get_filename_component (message_type "${message_file} " NAME_WE )
244+ set (message_has_keys FALSE )
245+ if (
246+ "${message_type} " STREQUAL "KeyedString" OR
247+ "${message_type} " STREQUAL "ComplexNestedKey"
248+ )
249+ set (message_has_keys TRUE )
250+ endif ()
251+
252+ # TODO(MiguelCompany): Only fastrtps RMWs interoperate for keyed messages
253+ if (
254+ message_has_keys AND
255+ (NOT "${rmw_implementation1} " STREQUAL "${rmw_implementation2} " ) AND
256+ (
257+ (NOT rmw_implementation1_is_fastrtps) OR
258+ (NOT rmw_implementation2_is_fastrtps)
259+ )
260+ )
261+ continue ()
262+ endif ()
263+
244264 # TODO(dirk-thomas) WStrings published by FastRTPS can't be received
245265 # correctly by Connext on macOS
246266 if (
You can’t perform that action at this time.
0 commit comments