File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -203,6 +203,25 @@ if(BUILD_TESTING)
203203 set (TEST_MESSAGE_TYPES "" )
204204 foreach (message_file ${message_files} )
205205 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 have support for keyed messages
215+ if (
216+ message_has_keys AND
217+ (
218+ (NOT rmw_implementation1_is_fastrtps) OR
219+ (NOT rmw_implementation2_is_fastrtps)
220+ )
221+ )
222+ continue ()
223+ endif ()
224+
206225 # TODO(dirk-thomas) WStrings published by FastRTPS can't be received
207226 # correctly by Connext on macOS
208227 if (
You can’t perform that action at this time.
0 commit comments