From 458019bdff9faaecb7711f0924a2ca19a4c4b3bd Mon Sep 17 00:00:00 2001 From: dhood Date: Tue, 17 May 2016 15:35:44 -0700 Subject: [PATCH] Regression test for #213 --- rclcpp/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rclcpp/CMakeLists.txt b/rclcpp/CMakeLists.txt index 5630a2d..63289b2 100644 --- a/rclcpp/CMakeLists.txt +++ b/rclcpp/CMakeLists.txt @@ -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}