Skip to content

Commit

Permalink
Enable roslaunch_add_file_check.
Browse files Browse the repository at this point in the history
Disable add_rostest, because it requries hardware
  • Loading branch information
534o committed Nov 12, 2019
1 parent 8ecabf9 commit b67abaf
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -86,18 +86,18 @@ if(CATKIN_ENABLE_TESTING)

find_package(catkin REQUIRED COMPONENTS rostest roslaunch)

# file(GLOB LAUNCH_FILES launch/*.launch)
# foreach(LAUNCH_FILE ${LAUNCH_FILES})
# message(status "Testing ${LAUNCH_FILE}")
# roslaunch_add_file_check(${LAUNCH_FILE})
# endforeach()

file(GLOB TEST_FILES test/*.test)
foreach(TEST_FILE ${TEST_FILES})
message(status "Testing ${TEST_FILE}")
add_rostest(${TEST_FILE})
file(GLOB LAUNCH_FILES launch/*.launch)
foreach(LAUNCH_FILE ${LAUNCH_FILES})
message(status "Testing ${LAUNCH_FILE}")
roslaunch_add_file_check(${LAUNCH_FILE})
endforeach()

# file(GLOB TEST_FILES test/*.test)
# foreach(TEST_FILE ${TEST_FILES})
# message(status "Testing ${TEST_FILE}")
# add_rostest(${TEST_FILE})
# endforeach()

endif()


0 comments on commit b67abaf

Please sign in to comment.