Skip to content

Commit

Permalink
[ci] Disabled whole-body test in ROS1
Browse files Browse the repository at this point in the history
  • Loading branch information
cmastalli committed Dec 13, 2023
1 parent ab9f81c commit 16fc6b6
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions unittest/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
set(${PROJECT_NAME}_PYTHON_TESTS solver_statistics solver_trajectory
whole_body_state whole_body_trajectory)

if(CATKIN_ENABLE_TESTING)
set(${PROJECT_NAME}_PYTHON_TESTS solver_statistics solver_trajectory)

find_package(rostest REQUIRED)
foreach(TEST ${${PROJECT_NAME}_PYTHON_TESTS})
add_rostest(crocoddyl_msgs.test ARGS test_name:=${TEST})
endforeach(TEST ${${PROJECT_NAME}_PYTHON_TESTS})
else() # ROS2
set(${PROJECT_NAME}_PYTHON_TESTS solver_statistics solver_trajectory
whole_body_state whole_body_trajectory)

foreach(TEST ${${PROJECT_NAME}_PYTHON_TESTS})
add_test(NAME "test_${TEST}"
COMMAND ${PYTHON_EXECUTABLE}
Expand Down

0 comments on commit 16fc6b6

Please sign in to comment.