Regression test for #213

This commit is contained in:
dhood 2016-05-17 15:35:44 -07:00
parent 0a9f2e26a2
commit 458019bdff

View file

@ -105,7 +105,8 @@ if(BUILD_TESTING)
${rosidl_generator_cpp_INCLUDE_DIRS}
)
endif()
ament_add_gtest(test_rate test/test_rate.cpp)
ament_add_gtest(test_rate test/test_rate.cpp
ENV RCL_ASSERT_RMW_ID_MATCHES=${rmw_implementation})
if(TARGET test_rate)
target_include_directories(test_rate PUBLIC
${rcl_interfaces_INCLUDE_DIRS}