Skip to content

Commit

Permalink
Skip rcl timer tests for rmw_connext_cpp.
Browse files Browse the repository at this point in the history
Signed-off-by: Michel Hidalgo <michel@ekumenlabs.com>
  • Loading branch information
hidmic committed Jun 16, 2020
1 parent 4041bae commit d2bd754
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions rcl/test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -50,17 +50,21 @@ function(test_target_function)
AMENT_DEPENDENCIES ${rmw_implementation}
)

set(timer_test_timeout 60)
# TODO(hidmic): re-enable timer tests against RTI Connext once
# https://github.com/ros2/rcl/issues/687 is resolved
set(AMENT_GTEST_ARGS "")
if(rmw_implementation STREQUAL "rmw_connext_cpp")
set(timer_test_timeout 90) # Bump timeout for RTI Connext
message(STATUS "Skipping test_timer${target_suffix} test.")
set(AMENT_GTEST_ARGS "SKIP_TEST")
endif()

rcl_add_custom_gtest(test_timer${target_suffix}
SRCS rcl/test_timer.cpp
ENV ${rmw_implementation_env_var}
TIMEOUT ${timer_test_timeout}
APPEND_LIBRARY_DIRS ${extra_lib_dirs}
LIBRARIES ${PROJECT_NAME} osrf_testing_tools_cpp::memory_tools
AMENT_DEPENDENCIES ${rmw_implementation}
${AMENT_GTEST_ARGS}
)

rcl_add_custom_gtest(test_context${target_suffix}
Expand Down

0 comments on commit d2bd754

Please sign in to comment.