enable rcl test_events unit tests on macOS (#433)

Signed-off-by: Miaofei <miaofei@amazon.com>
This commit is contained in:
M. M 2019-05-16 15:31:30 -07:00 committed by Jacob Perron
parent 4e0b33f8a8
commit 2f6abbb0ee

View file

@ -199,19 +199,12 @@ function(test_target_function)
AMENT_DEPENDENCIES ${rmw_implementation} "osrf_testing_tools_cpp" "test_msgs" AMENT_DEPENDENCIES ${rmw_implementation} "osrf_testing_tools_cpp" "test_msgs"
) )
# TODO(mm318): test_events seem to be failing on the macOS build farm.
# we will try to re-enable this test asap.
set(AMENT_GTEST_ARGS "")
if(APPLE)
set(AMENT_GTEST_ARGS "SKIP_TEST")
endif()
rcl_add_custom_gtest(test_events${target_suffix} rcl_add_custom_gtest(test_events${target_suffix}
SRCS rcl/test_events.cpp SRCS rcl/test_events.cpp
ENV ${rmw_implementation_env_var} ENV ${rmw_implementation_env_var}
APPEND_LIBRARY_DIRS ${extra_lib_dirs} APPEND_LIBRARY_DIRS ${extra_lib_dirs}
LIBRARIES ${PROJECT_NAME} LIBRARIES ${PROJECT_NAME}
AMENT_DEPENDENCIES ${rmw_implementation} "osrf_testing_tools_cpp" "test_msgs" AMENT_DEPENDENCIES ${rmw_implementation} "osrf_testing_tools_cpp" "test_msgs"
${AMENT_GTEST_ARGS}
) )
rcl_add_custom_gtest(test_wait${target_suffix} rcl_add_custom_gtest(test_wait${target_suffix}