-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor tests to match profile names
- Loading branch information
Showing
4 changed files
with
58 additions
and
60 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,62 +1,60 @@ | ||
find_package(tesseract_command_language REQUIRED) | ||
|
||
# SimplePlanner Tests | ||
add_executable(${PROJECT_NAME}_simple_planner_fixed_size_interpolation_unit simple_planner_fixed_size_interpolation.cpp) | ||
target_link_libraries(${PROJECT_NAME}_simple_planner_fixed_size_interpolation_unit PRIVATE GTest::GTest GTest::Main | ||
${PROJECT_NAME}_simple) | ||
target_compile_options(${PROJECT_NAME}_simple_planner_fixed_size_interpolation_unit | ||
add_executable(${PROJECT_NAME}_simple_planner_fixed_size_assign_no_ik_plan_unit | ||
simple_planner_fixed_size_assign_no_ik_plan_unit.cpp) | ||
target_link_libraries(${PROJECT_NAME}_simple_planner_fixed_size_assign_no_ik_plan_unit PRIVATE GTest::GTest GTest::Main | ||
${PROJECT_NAME}_simple) | ||
target_compile_options(${PROJECT_NAME}_simple_planner_fixed_size_assign_no_ik_plan_unit | ||
PRIVATE ${TESSERACT_COMPILE_OPTIONS_PRIVATE} ${TESSERACT_COMPILE_OPTIONS_PUBLIC}) | ||
target_compile_definitions(${PROJECT_NAME}_simple_planner_fixed_size_interpolation_unit | ||
target_compile_definitions(${PROJECT_NAME}_simple_planner_fixed_size_assign_no_ik_plan_unit | ||
PRIVATE ${TESSERACT_COMPILE_DEFINITIONS}) | ||
target_clang_tidy(${PROJECT_NAME}_simple_planner_fixed_size_interpolation_unit ENABLE ${TESSERACT_ENABLE_CLANG_TIDY}) | ||
target_cxx_version(${PROJECT_NAME}_simple_planner_fixed_size_interpolation_unit PRIVATE | ||
target_clang_tidy(${PROJECT_NAME}_simple_planner_fixed_size_assign_no_ik_plan_unit | ||
ENABLE ${TESSERACT_ENABLE_CLANG_TIDY}) | ||
target_cxx_version(${PROJECT_NAME}_simple_planner_fixed_size_assign_no_ik_plan_unit PRIVATE | ||
VERSION ${TESSERACT_CXX_VERSION}) | ||
target_code_coverage( | ||
${PROJECT_NAME}_simple_planner_fixed_size_interpolation_unit | ||
${PROJECT_NAME}_simple_planner_fixed_size_assign_no_ik_plan_unit | ||
PRIVATE | ||
ALL | ||
EXCLUDE ${COVERAGE_EXCLUDE} | ||
ENABLE ${TESSERACT_ENABLE_CODE_COVERAGE}) | ||
add_gtest_discover_tests(${PROJECT_NAME}_simple_planner_fixed_size_interpolation_unit) | ||
add_dependencies(${PROJECT_NAME}_simple_planner_fixed_size_interpolation_unit ${PROJECT_NAME}_simple) | ||
add_dependencies(run_tests ${PROJECT_NAME}_simple_planner_fixed_size_interpolation_unit) | ||
add_gtest_discover_tests(${PROJECT_NAME}_simple_planner_fixed_size_assign_no_ik_plan_unit) | ||
add_dependencies(${PROJECT_NAME}_simple_planner_fixed_size_assign_no_ik_plan_unit ${PROJECT_NAME}_simple) | ||
add_dependencies(run_tests ${PROJECT_NAME}_simple_planner_fixed_size_assign_no_ik_plan_unit) | ||
|
||
add_executable(${PROJECT_NAME}_simple_planner_fixed_size_assign_no_ik_position_unit | ||
simple_planner_fixed_size_assign_no_ik_position.cpp) | ||
target_link_libraries(${PROJECT_NAME}_simple_planner_fixed_size_assign_no_ik_position_unit PRIVATE GTest::GTest GTest::Main | ||
${PROJECT_NAME}_simple) | ||
target_compile_options(${PROJECT_NAME}_simple_planner_fixed_size_assign_no_ik_position_unit | ||
PRIVATE ${TESSERACT_COMPILE_OPTIONS_PRIVATE} ${TESSERACT_COMPILE_OPTIONS_PUBLIC}) | ||
target_compile_definitions(${PROJECT_NAME}_simple_planner_fixed_size_assign_no_ik_position_unit | ||
PRIVATE ${TESSERACT_COMPILE_DEFINITIONS}) | ||
target_clang_tidy(${PROJECT_NAME}_simple_planner_fixed_size_assign_no_ik_position_unit ENABLE ${TESSERACT_ENABLE_CLANG_TIDY}) | ||
target_cxx_version(${PROJECT_NAME}_simple_planner_fixed_size_assign_no_ik_position_unit PRIVATE | ||
VERSION ${TESSERACT_CXX_VERSION}) | ||
add_executable(${PROJECT_NAME}_simple_planner_fixed_size_plan_unit simple_planner_fixed_size_plan_unit.cpp) | ||
target_link_libraries(${PROJECT_NAME}_simple_planner_fixed_size_plan_unit PRIVATE GTest::GTest GTest::Main | ||
${PROJECT_NAME}_simple) | ||
target_compile_options(${PROJECT_NAME}_simple_planner_fixed_size_plan_unit PRIVATE ${TESSERACT_COMPILE_OPTIONS_PRIVATE} | ||
${TESSERACT_COMPILE_OPTIONS_PUBLIC}) | ||
target_compile_definitions(${PROJECT_NAME}_simple_planner_fixed_size_plan_unit PRIVATE ${TESSERACT_COMPILE_DEFINITIONS}) | ||
target_clang_tidy(${PROJECT_NAME}_simple_planner_fixed_size_plan_unit ENABLE ${TESSERACT_ENABLE_CLANG_TIDY}) | ||
target_cxx_version(${PROJECT_NAME}_simple_planner_fixed_size_plan_unit PRIVATE VERSION ${TESSERACT_CXX_VERSION}) | ||
target_code_coverage( | ||
${PROJECT_NAME}_simple_planner_fixed_size_assign_no_ik_position_unit | ||
${PROJECT_NAME}_simple_planner_fixed_size_plan_unit | ||
PRIVATE | ||
ALL | ||
EXCLUDE ${COVERAGE_EXCLUDE} | ||
ENABLE ${TESSERACT_ENABLE_CODE_COVERAGE}) | ||
add_gtest_discover_tests(${PROJECT_NAME}_simple_planner_fixed_size_assign_no_ik_position_unit) | ||
add_dependencies(${PROJECT_NAME}_simple_planner_fixed_size_assign_no_ik_position_unit ${PROJECT_NAME}_simple) | ||
add_dependencies(run_tests ${PROJECT_NAME}_simple_planner_fixed_size_assign_no_ik_position_unit) | ||
add_gtest_discover_tests(${PROJECT_NAME}_simple_planner_fixed_size_plan_unit) | ||
add_dependencies(${PROJECT_NAME}_simple_planner_fixed_size_plan_unit ${PROJECT_NAME}_simple) | ||
add_dependencies(run_tests ${PROJECT_NAME}_simple_planner_fixed_size_plan_unit) | ||
|
||
add_executable(${PROJECT_NAME}_simple_planner_lvs_interpolation_unit simple_planner_lvs_interpolation.cpp) | ||
target_link_libraries(${PROJECT_NAME}_simple_planner_lvs_interpolation_unit PRIVATE GTest::GTest GTest::Main | ||
${PROJECT_NAME}_simple) | ||
target_compile_options(${PROJECT_NAME}_simple_planner_lvs_interpolation_unit | ||
PRIVATE ${TESSERACT_COMPILE_OPTIONS_PRIVATE} ${TESSERACT_COMPILE_OPTIONS_PUBLIC}) | ||
target_compile_definitions(${PROJECT_NAME}_simple_planner_lvs_interpolation_unit | ||
PRIVATE ${TESSERACT_COMPILE_DEFINITIONS}) | ||
target_clang_tidy(${PROJECT_NAME}_simple_planner_lvs_interpolation_unit ENABLE ${TESSERACT_ENABLE_CLANG_TIDY}) | ||
target_cxx_version(${PROJECT_NAME}_simple_planner_lvs_interpolation_unit PRIVATE VERSION ${TESSERACT_CXX_VERSION}) | ||
add_executable(${PROJECT_NAME}_simple_planner_lvs_plan_unit simple_planner_lvs_plan_unit.cpp) | ||
target_link_libraries(${PROJECT_NAME}_simple_planner_lvs_plan_unit PRIVATE GTest::GTest GTest::Main | ||
${PROJECT_NAME}_simple) | ||
target_compile_options(${PROJECT_NAME}_simple_planner_lvs_plan_unit PRIVATE ${TESSERACT_COMPILE_OPTIONS_PRIVATE} | ||
${TESSERACT_COMPILE_OPTIONS_PUBLIC}) | ||
target_compile_definitions(${PROJECT_NAME}_simple_planner_lvs_plan_unit PRIVATE ${TESSERACT_COMPILE_DEFINITIONS}) | ||
target_clang_tidy(${PROJECT_NAME}_simple_planner_lvs_plan_unit ENABLE ${TESSERACT_ENABLE_CLANG_TIDY}) | ||
target_cxx_version(${PROJECT_NAME}_simple_planner_lvs_plan_unit PRIVATE VERSION ${TESSERACT_CXX_VERSION}) | ||
target_code_coverage( | ||
${PROJECT_NAME}_simple_planner_lvs_interpolation_unit | ||
${PROJECT_NAME}_simple_planner_lvs_plan_unit | ||
PRIVATE | ||
ALL | ||
EXCLUDE ${COVERAGE_EXCLUDE} | ||
ENABLE ${TESSERACT_ENABLE_CODE_COVERAGE}) | ||
add_gtest_discover_tests(${PROJECT_NAME}_simple_planner_lvs_interpolation_unit) | ||
add_dependencies(${PROJECT_NAME}_simple_planner_lvs_interpolation_unit ${PROJECT_NAME}_simple) | ||
add_dependencies(run_tests ${PROJECT_NAME}_simple_planner_lvs_interpolation_unit) | ||
add_gtest_discover_tests(${PROJECT_NAME}_simple_planner_lvs_plan_unit) | ||
add_dependencies(${PROJECT_NAME}_simple_planner_lvs_plan_unit ${PROJECT_NAME}_simple) | ||
add_dependencies(run_tests ${PROJECT_NAME}_simple_planner_lvs_plan_unit) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters