Skip to content

Commit

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

if(CATKIN_ENABLE_TESTING)
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 12836d8

Please sign in to comment.