Increase rcl_yaml_param_parser test coverage (#656)
* Cleanup and address issues in parser.c Signed-off-by: Stephen Brawner <stephenbrawner@verbsurgical.com> squash! Cleanup and address issues in parser.c * Increase test coverage of parser Signed-off-by: Stephen Brawner <stephenbrawner@verbsurgical.com> * PR Fixup Signed-off-by: Stephen Brawner <stephenbrawner@verbsurgical.com> * PR Fixup Signed-off-by: Stephen Brawner <stephenbrawner@verbsurgical.com> Co-authored-by: Stephen Brawner <stephenbrawner@verbsurgical.com>
This commit is contained in:
parent
7146919c3f
commit
65c2d46ee0
5 changed files with 742 additions and 113 deletions
|
@ -63,6 +63,18 @@ if(BUILD_TESTING)
|
|||
PRIVATE ${osrf_testing_tools_cpp_INCLUDE_DIRS})
|
||||
endif()
|
||||
|
||||
ament_add_gtest(test_parser
|
||||
test/test_parser.cpp
|
||||
WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}"
|
||||
)
|
||||
if(TARGET test_parser)
|
||||
ament_target_dependencies(test_parser
|
||||
"rcutils"
|
||||
"osrf_testing_tools_cpp"
|
||||
)
|
||||
target_link_libraries(test_parser ${PROJECT_NAME})
|
||||
endif()
|
||||
|
||||
endif()
|
||||
|
||||
ament_export_dependencies(ament_cmake libyaml_vendor)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue