Skip to content

Commit 54143d7

Browse files
authored
fix(autoware_behavior_path_planner_common): add explicit test dependency (#10262)
Signed-off-by: Mete Fatih Cırıt <mfc@autoware.org>
1 parent 191858c commit 54143d7

File tree

1 file changed

+24
-0
lines changed
  • planning/behavior_path_planner/autoware_behavior_path_planner_common

1 file changed

+24
-0
lines changed

planning/behavior_path_planner/autoware_behavior_path_planner_common/CMakeLists.txt

+24
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,10 @@ if(BUILD_TESTING)
4242
${PROJECT_NAME}
4343
)
4444

45+
ament_target_dependencies(test_${PROJECT_NAME}_utilities
46+
autoware_test_utils
47+
)
48+
4549
ament_add_ros_isolated_gmock(test_${PROJECT_NAME}_drivable_area_expansion
4650
test/test_drivable_area_expansion.cpp
4751
test/test_footprints.cpp
@@ -52,6 +56,10 @@ if(BUILD_TESTING)
5256
${PROJECT_NAME}
5357
)
5458

59+
ament_target_dependencies(test_${PROJECT_NAME}_drivable_area_expansion
60+
autoware_test_utils
61+
)
62+
5563
ament_add_ros_isolated_gmock(test_${PROJECT_NAME}_occupancy_grid_based_collision_detector
5664
test/test_occupancy_grid_based_collision_detector.cpp
5765
)
@@ -60,6 +68,10 @@ if(BUILD_TESTING)
6068
${PROJECT_NAME}
6169
)
6270

71+
ament_target_dependencies(test_${PROJECT_NAME}_occupancy_grid_based_collision_detector
72+
autoware_test_utils
73+
)
74+
6375
ament_add_ros_isolated_gmock(test_${PROJECT_NAME}_safety_check
6476
test/test_safety_check.cpp
6577
test/test_objects_filtering.cpp
@@ -69,6 +81,10 @@ if(BUILD_TESTING)
6981
${PROJECT_NAME}
7082
)
7183

84+
ament_target_dependencies(test_${PROJECT_NAME}_safety_check
85+
autoware_test_utils
86+
)
87+
7288
ament_add_ros_isolated_gmock(test_${PROJECT_NAME}_parking_departure
7389
test/test_parking_departure_utils.cpp
7490
)
@@ -77,6 +93,10 @@ if(BUILD_TESTING)
7793
${PROJECT_NAME}
7894
)
7995

96+
ament_target_dependencies(test_${PROJECT_NAME}_parking_departure
97+
autoware_test_utils
98+
)
99+
80100
ament_add_ros_isolated_gmock(test_${PROJECT_NAME}_path_shifter
81101
test/test_path_shifter.cpp
82102
)
@@ -85,6 +105,10 @@ if(BUILD_TESTING)
85105
${PROJECT_NAME}
86106
)
87107

108+
ament_target_dependencies(test_${PROJECT_NAME}_path_shifter
109+
autoware_test_utils
110+
)
111+
88112
ament_add_ros_isolated_gmock(test_${PROJECT_NAME}_turn_signal
89113
test/test_turn_signal.cpp
90114
)

0 commit comments

Comments
 (0)