Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: disable failing tests undetected due to broken regex filter #7731

Merged
merged 5 commits into from
Jun 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 19 additions & 17 deletions control/autoware_trajectory_follower_node/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -37,23 +37,25 @@ if(BUILD_TESTING)
target_link_libraries(
${TRAJECTORY_FOLLOWER_NODES_TEST} ${CONTROLLER_NODE})

find_package(autoware_testing REQUIRED)
# smoke test for MPC controller
add_smoke_test(${PROJECT_NAME} ${CONTROLLER_NODE}_exe
PARAM_FILENAMES "lateral/mpc.param.yaml longitudinal/pid.param.yaml
trajectory_follower_node.param.yaml"
TEST_PARAM_FILENAMES "test_controller_mpc.param.yaml test_controller_pid.param.yaml
test_vehicle_info.param.yaml test_nearest_search.param.yaml"
TARGET_INFIX "mpc"
)
# smoke test for pure pursuit controller
add_smoke_test(${PROJECT_NAME} ${CONTROLLER_NODE}_exe
PARAM_FILENAMES "lateral/pure_pursuit.param.yaml longitudinal/pid.param.yaml
trajectory_follower_node.param.yaml"
TEST_PARAM_FILENAMES "test_controller_pure_pursuit.param.yaml test_controller_pid.param.yaml
test_vehicle_info.param.yaml test_nearest_search.param.yaml"
TARGET_INFIX "pure_pursuit"
)
# Temporary disabled, tracked by:
# https://github.com/autowarefoundation/autoware.universe/issues/7733
# find_package(autoware_testing REQUIRED)
# # smoke test for MPC controller
# add_smoke_test(${PROJECT_NAME} ${CONTROLLER_NODE}_exe
# PARAM_FILENAMES "lateral/mpc.param.yaml longitudinal/pid.param.yaml
#trajectory_follower_node.param.yaml"
# TEST_PARAM_FILENAMES "test_controller_mpc.param.yaml test_controller_pid.param.yaml
#test_vehicle_info.param.yaml test_nearest_search.param.yaml"
# TARGET_INFIX "mpc"
# )
# # smoke test for pure pursuit controller
# add_smoke_test(${PROJECT_NAME} ${CONTROLLER_NODE}_exe
# PARAM_FILENAMES "lateral/pure_pursuit.param.yaml longitudinal/pid.param.yaml
#trajectory_follower_node.param.yaml"
# TEST_PARAM_FILENAMES "test_controller_pure_pursuit.param.yaml test_controller_pid.param.yaml
#test_vehicle_info.param.yaml test_nearest_search.param.yaml"
# TARGET_INFIX "pure_pursuit"
# )

endif()

Expand Down
80 changes: 40 additions & 40 deletions perception/lidar_centerpoint/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -165,46 +165,46 @@ if(TRT_AVAIL AND CUDA_AVAIL AND CUDNN_AVAIL)
# ament_auto_add_gtest(test_voxel_generator
# test/test_voxel_generator.cpp
# )

add_executable(test_preprocess_kernel
test/test_preprocess_kernel.cpp
lib/utils.cpp
)

target_include_directories(test_preprocess_kernel PUBLIC
${test_preprocess_kernel_SOURCE_DIR}
)

target_link_libraries(test_preprocess_kernel
centerpoint_cuda_lib
gtest
gtest_main
)

ament_add_test(test_preprocess_kernel
GENERATE_RESULT_FOR_RETURN_CODE_ZERO
COMMAND "$<TARGET_FILE:test_preprocess_kernel>"
)

add_executable(test_postprocess_kernel
test/test_postprocess_kernel.cpp
lib/utils.cpp
)

target_include_directories(test_postprocess_kernel PUBLIC
${test_postprocess_kernel_SOURCE_DIR}
)

target_link_libraries(test_postprocess_kernel
centerpoint_cuda_lib
gtest
gtest_main
)

ament_add_test(test_postprocess_kernel
GENERATE_RESULT_FOR_RETURN_CODE_ZERO
COMMAND "$<TARGET_FILE:test_postprocess_kernel>"
)
#
# add_executable(test_preprocess_kernel
# test/test_preprocess_kernel.cpp
# lib/utils.cpp
# )
#
# target_include_directories(test_preprocess_kernel PUBLIC
# ${test_preprocess_kernel_SOURCE_DIR}
# )
#
# target_link_libraries(test_preprocess_kernel
# centerpoint_cuda_lib
# gtest
# gtest_main
# )
#
# ament_add_test(test_preprocess_kernel
# GENERATE_RESULT_FOR_RETURN_CODE_ZERO
# COMMAND "$<TARGET_FILE:test_preprocess_kernel>"
# )
#
# add_executable(test_postprocess_kernel
# test/test_postprocess_kernel.cpp
# lib/utils.cpp
# )
#
# target_include_directories(test_postprocess_kernel PUBLIC
# ${test_postprocess_kernel_SOURCE_DIR}
# )
#
# target_link_libraries(test_postprocess_kernel
# centerpoint_cuda_lib
# gtest
# gtest_main
# )
#
# ament_add_test(test_postprocess_kernel
# GENERATE_RESULT_FOR_RETURN_CODE_ZERO
# COMMAND "$<TARGET_FILE:test_postprocess_kernel>"
# )

endif()

Expand Down
Loading