We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0aad666 commit 4f17b5bCopy full SHA for 4f17b5b
rosidl_runtime_c/CMakeLists.txt
@@ -88,12 +88,14 @@ if(BUILD_TESTING)
88
if(TARGET test_string_functions)
89
target_include_directories(test_string_functions PUBLIC include)
90
target_link_libraries(test_string_functions ${PROJECT_NAME})
91
+ target_compile_definitions(test_string_functions PUBLIC RCUTILS_ENABLE_FAULT_INJECTION)
92
endif()
93
94
ament_add_gtest(test_u16string_functions test/test_u16string_functions.cpp)
95
if(TARGET test_u16string_functions)
96
target_include_directories(test_u16string_functions PUBLIC include)
97
target_link_libraries(test_u16string_functions ${PROJECT_NAME})
98
+ target_compile_definitions(test_u16string_functions PUBLIC RCUTILS_ENABLE_FAULT_INJECTION)
99
100
101
0 commit comments