Skip to content

Commit 503e849

Browse files
committed
Allow disabling tests with CATKIN_ENABLE_TESTING
1 parent 7d5fe75 commit 503e849

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

laser_scan_matcher/CMakeLists.txt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,5 +68,7 @@ install(FILES laser_scan_matcher_nodelet.xml
6868
install(DIRECTORY demo
6969
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION} )
7070

71-
add_rostest(test/run.test)
72-
add_rostest(test/covariance.test)
71+
if(CATKIN_ENABLE_TESTING)
72+
add_rostest(test/run.test)
73+
add_rostest(test/covariance.test)
74+
endif()

0 commit comments

Comments
 (0)