Skip to content
Snippets Groups Projects
Commit 05ab3a8b authored by Guilhem Saurel's avatar Guilhem Saurel
Browse files

[CMake] add tests

parent 1faa8bf7
No related branches found
No related tags found
No related merge requests found
...@@ -195,6 +195,7 @@ target_link_libraries(sot_loader ${Boost_LIBRARIES} roscpp ros_bridge tf) ...@@ -195,6 +195,7 @@ target_link_libraries(sot_loader ${Boost_LIBRARIES} roscpp ros_bridge tf)
install(TARGETS sot_loader DESTINATION lib) install(TARGETS sot_loader DESTINATION lib)
add_subdirectory(src) add_subdirectory(src)
add_subdirectory(tests)
# Deal with the ROS part. # Deal with the ROS part.
add_service_files( FILES RunPythonFile.srv ) add_service_files( FILES RunPythonFile.srv )
......
IF(BUILD_PYTHON_INTERFACE)
ADD_PYTHON_UNIT_TEST("py-import" "tests/test_import.py")
ADD_PYTHON_UNIT_TEST("py-joint_state" "tests/test_joint_state.py")
ENDIF(BUILD_PYTHON_INTERFACE)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment