From b92230688ecba6fabb60a63eaa415be61ce539d8 Mon Sep 17 00:00:00 2001 From: "Isaac I.Y. Saito" <130s@2000.jukuin.keio.ac.jp> Date: Thu, 17 Dec 2015 03:06:52 -0800 Subject: [PATCH] [ros_bridge] Add test to ensure if model is loaded. Remove install rule that's no longer valid. --- nextage_ros_bridge/CMakeLists.txt | 2 +- nextage_ros_bridge/test/ros_model.test | 29 ++++++++++++++++++++++++++ 2 files changed, 30 insertions(+), 1 deletion(-) create mode 100644 nextage_ros_bridge/test/ros_model.test diff --git a/nextage_ros_bridge/CMakeLists.txt b/nextage_ros_bridge/CMakeLists.txt index 6fbb092c..b4527fc6 100644 --- a/nextage_ros_bridge/CMakeLists.txt +++ b/nextage_ros_bridge/CMakeLists.txt @@ -87,7 +87,6 @@ add_custom_target(${PROJECT_NAME}_model_files ALL DEPENDS ${PROJECT_SOURCE_DIR}/ install(DIRECTORY launch DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}) install(DIRECTORY script DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION} USE_SOURCE_PERMISSIONS) install(DIRECTORY conf DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION} PATTERN "*.in" EXCLUDE) -install(DIRECTORY models DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}) #install(DIRECTORY test DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION} USE_SOURCE_PERMISSIONS) install(CODE " @@ -118,3 +117,4 @@ install(DIRECTORY test USE_SOURCE_PERMISSIONS) add_rostest(test/nxo.test) +add_rostest(test/ros_model.test) diff --git a/nextage_ros_bridge/test/ros_model.test b/nextage_ros_bridge/test/ros_model.test new file mode 100644 index 00000000..f782a1ad --- /dev/null +++ b/nextage_ros_bridge/test/ros_model.test @@ -0,0 +1,29 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + +