Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add CATKIN_ENABLE_TESTING #543

Open
wants to merge 1 commit into
base: indigo-devel
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion hironx_moveit_config/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,6 @@ install(DIRECTORY launch config models test www
USE_SOURCE_PERMISSIONS)


add_rostest(test/test-hironx-moveit.test)
if (CATKIN_ENABLE_TESTING)
add_rostest(test/test-hironx-moveit.test)
endif()
14 changes: 7 additions & 7 deletions hironx_ros_bridge/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -100,14 +100,14 @@ install(TARGETS acceptancetest_hironx_cpp ros_client_cpp
LIBRARY DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION}
RUNTIME DESTINATION ${CATKIN_GLOBAL_BIN_DESTINATION})

add_rostest(test/test-hironx.test)
add_rostest(test/test-hironx-ros-bridge.test)
add_rostest(test/test-hironx-ros-bridge-send.test)
add_rostest(test/test-hironx-ros-bridge-pose.test)
add_rostest(test/test-hironx-ros-bridge-controller.test)
add_rostest(test/test-hironx-rtc-on-off.test)

if (CATKIN_ENABLE_TESTING)
add_rostest(test/test-hironx.test)
add_rostest(test/test-hironx-ros-bridge.test)
add_rostest(test/test-hironx-ros-bridge-send.test)
add_rostest(test/test-hironx-ros-bridge-pose.test)
add_rostest(test/test-hironx-ros-bridge-controller.test)
add_rostest(test/test-hironx-rtc-on-off.test)

catkin_add_nosetests(test/test_no_ros.py)
endif()

Expand Down