From 486acce7fbf8fcb2149f8fabb781c3c43e0dadae Mon Sep 17 00:00:00 2001 From: Miguel Company Date: Tue, 2 Apr 2024 15:42:14 +0200 Subject: [PATCH] Make test_communication use idl messages instead of msg ones. Signed-off-by: Miguel Company --- test_communication/CMakeLists.txt | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/test_communication/CMakeLists.txt b/test_communication/CMakeLists.txt index e12a8719..b3f68777 100644 --- a/test_communication/CMakeLists.txt +++ b/test_communication/CMakeLists.txt @@ -41,8 +41,8 @@ if(BUILD_TESTING) foreach(interface_file ${interface_files}) get_filename_component(interface_ns "${interface_file}" DIRECTORY) get_filename_component(interface_ns "${interface_ns}" NAME) - string_ends_with("${interface_file}" ".msg" is_message) - if(is_message AND interface_ns STREQUAL "msg") + string_ends_with("${interface_file}" ".idl" is_idl) + if(is_idl AND interface_ns STREQUAL "msg") list(APPEND message_files "${interface_file}") continue() endif() @@ -51,8 +51,7 @@ if(BUILD_TESTING) list(APPEND service_files "${interface_file}") continue() endif() - string_ends_with("${interface_file}" ".idl" is_action) - if(is_action AND interface_ns STREQUAL "action") + if(is_idl AND interface_ns STREQUAL "action") list(APPEND action_files "${interface_file}") continue() endif()