Skip to content

Commit 486acce

Browse files
committed
Make test_communication use idl messages instead of msg ones.
Signed-off-by: Miguel Company <[email protected]>
1 parent e908363 commit 486acce

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

test_communication/CMakeLists.txt

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ if(BUILD_TESTING)
4141
foreach(interface_file ${interface_files})
4242
get_filename_component(interface_ns "${interface_file}" DIRECTORY)
4343
get_filename_component(interface_ns "${interface_ns}" NAME)
44-
string_ends_with("${interface_file}" ".msg" is_message)
45-
if(is_message AND interface_ns STREQUAL "msg")
44+
string_ends_with("${interface_file}" ".idl" is_idl)
45+
if(is_idl AND interface_ns STREQUAL "msg")
4646
list(APPEND message_files "${interface_file}")
4747
continue()
4848
endif()
@@ -51,8 +51,7 @@ if(BUILD_TESTING)
5151
list(APPEND service_files "${interface_file}")
5252
continue()
5353
endif()
54-
string_ends_with("${interface_file}" ".idl" is_action)
55-
if(is_action AND interface_ns STREQUAL "action")
54+
if(is_idl AND interface_ns STREQUAL "action")
5655
list(APPEND action_files "${interface_file}")
5756
continue()
5857
endif()

0 commit comments

Comments
 (0)