Skip to content

Commit

Permalink
fix: do not run specific test without cuda env
Browse files Browse the repository at this point in the history
Signed-off-by: yoshiri <[email protected]>
  • Loading branch information
YoshiRi committed Jul 5, 2024
1 parent 4ba58fa commit afe57f7
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions perception/image_projection_based_fusion/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -169,12 +169,16 @@ if(BUILD_TESTING)
ament_auto_add_gtest(test_utils
test/test_utils.cpp
)
ament_auto_add_gtest(test_pointpainting
test/test_pointpainting_fusion.cpp
)
ament_auto_add_gtest(test_geometry
test/test_geometry.cpp
)
# test needed cuda, tensorRT and cudnn
if(TRT_AVAIL AND CUDA_AVAIL AND CUDNN_AVAIL)
ament_auto_add_gtest(test_pointpainting
test/test_pointpainting_fusion.cpp
)
endif()

endif()

ament_auto_package(INSTALL_TO_SHARE
Expand Down

0 comments on commit afe57f7

Please sign in to comment.