Skip to content

Commit 16741dc

Browse files
committed
enable all tests
1 parent bc0dbe3 commit 16741dc

File tree

1 file changed

+4
-13
lines changed

1 file changed

+4
-13
lines changed

elevator_move_base_pr2/CMakeLists.txt

+4-13
Original file line numberDiff line numberDiff line change
@@ -32,19 +32,10 @@ target_link_libraries(color_point_detector ${catkin_LIBRARIES})
3232
if (CATKIN_ENABLE_TESTING)
3333
find_package(rostest REQUIRED)
3434
add_rostest(test/test-color-point-detector.launch)
35-
find_package(jsk_perception)
36-
if(EXISTS ${jsk_perception_DIR}/launch/eusmodel_detection_elevator-panels-eng2.launch OR
37-
EXISTS ${jsk_perception_SOURCE_PREFIX}/launch/eusmodel_detection_elevator-panels-eng2.launch)
38-
add_rostest(test/test-panel-pose-detection.launch ROBOT:=sim)
39-
add_rostest(test/test-button-light.launch ROBOT:=sim)
40-
else()
41-
message(WARNING "${jsk_perception_DIR}/launch/eusmodel_detection_elevator-panels-eng2.launch or")
42-
message(WARNING "${jsk_perception_SOURCE_PREFIX}/launch/eusmodel_detection_elevator-panels-eng2.launch is not found")
43-
message(WARNING "You need to compile jsk_perception to run test-button-light.launch and test-panel-pose-detection.launch")
44-
endif()
45-
# 2 tests below are skipped now since they aren't actually used for testing purpose.
46-
# add_rostest(test/test-modules-callpanel.launch ROBOT:=sim)
47-
# add_rostest(test/test-modules-insidepanel.launch ROBOT:=sim)
35+
add_rostest(test/test-panel-pose-detection.launch ROBOT:=sim)
36+
add_rostest(test/test-button-light.launch ROBOT:=sim)
37+
add_rostest(test/test-modules-callpanel.launch ROBOT:=sim)
38+
add_rostest(test/test-modules-insidepanel.launch ROBOT:=sim)
4839
endif()
4940

5041
install(

0 commit comments

Comments
 (0)