Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 17 additions & 16 deletions test_rmw_implementation/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ endif()
find_package(ament_cmake REQUIRED)

if(BUILD_TESTING)
find_package(ament_cmake_ros REQUIRED)
find_package(ament_cmake_gtest REQUIRED)
find_package(osrf_testing_tools_cpp REQUIRED)

Expand Down Expand Up @@ -199,100 +200,100 @@ if(BUILD_TESTING)
message(STATUS "Creating API tests for '${rmw_implementation}'")
set(rmw_implementation_env_var RMW_IMPLEMENTATION=${rmw_implementation})

ament_add_gtest_test(test_init_shutdown
ament_add_ros_isolated_gtest_test(test_init_shutdown
TEST_NAME test_init_shutdown${target_suffix}
ENV
${rmw_implementation_env_var}
)

ament_add_gtest_test(test_init_options
ament_add_ros_isolated_gtest_test(test_init_options
TEST_NAME test_init_options${target_suffix}
ENV
${rmw_implementation_env_var}
)

ament_add_gtest_test(test_create_destroy_node
ament_add_ros_isolated_gtest_test(test_create_destroy_node
TEST_NAME test_create_destroy_node${target_suffix}
ENV
${rmw_implementation_env_var}
)

ament_add_gtest_test(test_publisher
ament_add_ros_isolated_gtest_test(test_publisher
TEST_NAME test_publisher${target_suffix}
ENV
${rmw_implementation_env_var}
)

ament_add_gtest_test(test_subscription
ament_add_ros_isolated_gtest_test(test_subscription
TEST_NAME test_subscription${target_suffix}
TIMEOUT 120
ENV
${rmw_implementation_env_var}
)

ament_add_gtest_test(test_serialize_deserialize
ament_add_ros_isolated_gtest_test(test_serialize_deserialize
TEST_NAME test_serialize_deserialize${target_suffix}
ENV
${rmw_implementation_env_var}
)

ament_add_gtest_test(test_publisher_allocator
ament_add_ros_isolated_gtest_test(test_publisher_allocator
TEST_NAME test_publisher_allocator${target_suffix}
ENV
${rmw_implementation_env_var}
)

ament_add_gtest_test(test_subscription_allocator
ament_add_ros_isolated_gtest_test(test_subscription_allocator
TEST_NAME test_subscription_allocator${target_suffix}
ENV
${rmw_implementation_env_var}
)

ament_add_gtest_test(test_wait_set
ament_add_ros_isolated_gtest_test(test_wait_set
TEST_NAME test_wait_set${target_suffix}
ENV
${rmw_implementation_env_var}
)

ament_add_gtest_test(test_graph_api
ament_add_ros_isolated_gtest_test(test_graph_api
TEST_NAME test_graph_api${target_suffix}
TIMEOUT 120
ENV
${rmw_implementation_env_var}
)

ament_add_gtest_test(test_unique_identifiers
ament_add_ros_isolated_gtest_test(test_unique_identifiers
TEST_NAME test_unique_identifiers${target_suffix}
ENV
${rmw_implementation_env_var}
)

ament_add_gtest_test(test_service
ament_add_ros_isolated_gtest_test(test_service
TEST_NAME test_service${target_suffix}
ENV
${rmw_implementation_env_var}
)

ament_add_gtest_test(test_client
ament_add_ros_isolated_gtest_test(test_client
TEST_NAME test_client${target_suffix}
TIMEOUT 120
ENV
${rmw_implementation_env_var}
)

ament_add_gtest_test(test_qos_profile_check_compatible
ament_add_ros_isolated_gtest_test(test_qos_profile_check_compatible
TEST_NAME test_qos_profile_check_compatible${target_suffix}
ENV
${rmw_implementation_env_var}
)

ament_add_gtest_test(test_duration_infinite
ament_add_ros_isolated_gtest_test(test_duration_infinite
TEST_NAME test_duration_infinite${target_suffix}
ENV
${rmw_implementation_env_var}
)

ament_add_gtest_test(test_event
ament_add_ros_isolated_gtest_test(test_event
TEST_NAME test_event${target_suffix}
ENV
${rmw_implementation_env_var}
Expand Down
2 changes: 1 addition & 1 deletion test_rmw_implementation/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

<buildtool_depend>ament_cmake</buildtool_depend>

<test_depend>ament_cmake_gtest</test_depend>
<test_depend>ament_cmake_ros</test_depend>
<test_depend>ament_lint_auto</test_depend>
<test_depend>ament_lint_common</test_depend>
<test_depend>osrf_testing_tools_cpp</test_depend>
Expand Down