From 5824a09cddfbb85cab018b37d2ec5ec9e7d21553 Mon Sep 17 00:00:00 2001 From: Michael Ferguson Date: Mon, 22 Jan 2024 03:54:46 -0500 Subject: [PATCH] stereo_image_proc: cleanup cmake (#904) This was supposed to be switched over when e-turtle rolled out. J-turtle ain't that late... --- stereo_image_proc/CMakeLists.txt | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/stereo_image_proc/CMakeLists.txt b/stereo_image_proc/CMakeLists.txt index 6afd9bb8b..2b0e2af41 100644 --- a/stereo_image_proc/CMakeLists.txt +++ b/stereo_image_proc/CMakeLists.txt @@ -45,22 +45,13 @@ if(BUILD_TESTING) set(PYTHON_EXECUTABLE "${PYTHON_EXECUTABLE_DEBUG}") endif() - # Test DisparityNode in launch test - add_launch_test("test/test_disparity_node.py" + ament_add_pytest_test("test_disparity_node" test/test_disparity_node.py PYTHON_EXECUTABLE "${PYTHON_EXECUTABLE}" ) - # TODO(jacobperron): As of Eloquent, they're just plain pytests - # ament_add_pytest_test("test_disparity_node" test/test_disparity_node.py - # PYTHON_EXECUTABLE "${PYTHON_EXECUTABLE}" - # ) - # Test PointCloudNode in launch test - add_launch_test("test/test_point_cloud_node.py" + ament_add_pytest_test("test_point_cloud_node" test/test_point_cloud_node.py PYTHON_EXECUTABLE "${PYTHON_EXECUTABLE}" ) - # ament_add_pytest_test("test_point_cloud_node" test/test_point_cloud_node.py - # PYTHON_EXECUTABLE "${PYTHON_EXECUTABLE}" - # ) set(PYTHON_EXECUTABLE "${_PYTHON_EXECUTABLE}") endif()