Skip to content

Commit

Permalink
Merge pull request ros-industrial#60 from shaun-edwards/rosi_issue_11…
Browse files Browse the repository at this point in the history
…_launch_test

Incorporate roslaunch tests.
  • Loading branch information
shaun-edwards committed Jan 7, 2014
2 parents a7f8077 + 2da9025 commit dadba2f
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
11 changes: 11 additions & 0 deletions industrial_robot_client/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -157,12 +157,23 @@ target_link_libraries(joint_trajectory_action
industrial_robot_client ${catkin_LIBRARIES})
add_dependencies(joint_trajectory_action industrial_robot_client_gencpp)

##########
## Test ##
##########
# Testing - Only performed on normal (non byte swapped library)
catkin_add_gtest(utest_robot_client test/utest.cpp)
target_link_libraries(utest_robot_client
industrial_robot_client
${catkin_LIBRARIES})

# ROS launch testing
## ROS launch test should be enabled when launch parameters are supported,
## see details below:
## robot_interface_streaming.launch: 'robot_ip'
## robot_state_visualize.launch]: 'urdf_path'
## robot_interface_download.launch]: 'robot_ip'
##find_package(roslaunch)
##roslaunch_add_file_check(launch)

#############
## Install ##
Expand Down
10 changes: 10 additions & 0 deletions industrial_robot_simulator/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,16 @@ catkin_package(
CATKIN_DEPENDS roscpp std_msgs sensor_msgs control_msgs trajectory_msgs industrial_robot_client
)

##########
## Test ##
##########

# ROS launch testing
## ROS launch testing should be re-enabled when the roslaunch script is officially
## released (see https://github.com/ros/ros_comm/pull/333)
##find_package(roslaunch)
##roslaunch_add_file_check(launch)

#############
## Install ##
#############
Expand Down

0 comments on commit dadba2f

Please sign in to comment.