Skip to content

Commit

Permalink
Update CMakeLists.txt
Browse files Browse the repository at this point in the history
Add checking the condiition where testing is really enabled or not
  • Loading branch information
kazuki0824 authored Aug 6, 2022
1 parent 57053f5 commit c262f8d
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions openrtm_tools/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,8 @@ install(PROGRAMS scripts/rtmlaunch scripts/rtmtest DESTINATION ${CATKIN_GLOBAL_B
## Add folders to be run by python nosetests
# catkin_add_nosetests(test)


add_rostest(test/test-openrtm-tools.test)
add_rostest(test/test-rtmlaunch.test)
if(CATKIN_ENABLE_TESTING)
add_rostest(test/test-openrtm-tools.test)
add_rostest(test/test-rtmlaunch.test)
endif()

0 comments on commit c262f8d

Please sign in to comment.