Skip to content

Commit

Permalink
Declare jsk_add_rostest in all distros
Browse files Browse the repository at this point in the history
  • Loading branch information
wkentaro committed Sep 1, 2016
1 parent 1f97d78 commit 18e0f07
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions jsk_perception/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -357,12 +357,13 @@ if(CATKIN_ENABLE_TESTING)
set(ROSLINT_CPP_OPTS "--filter=-whitespace/parens,-whitespace/braces")
roslint_cpp()
roslint_python()
# declare rostest
macro(jsk_add_rostest rostest_file)
add_rostest(${rostest_file})
roslaunch_add_file_check(${rostest_file})
endmacro()
if("$ENV{ROS_DISTRO}" STRGREATER "hydro")
# roslaunch_add_file_check in hydro is too strict
macro(jsk_add_rostest rostest_file)
add_rostest(${rostest_file})
roslaunch_add_file_check(${rostest_file})
endmacro()
# FIXME: jsk_tools/test_topic_published.py does not work on hydro travis/jenkins
# https://github.com/jsk-ros-pkg/jsk_common/pull/1293#issuecomment-164158260
jsk_add_rostest(test/add_mask_image.test)
Expand Down

0 comments on commit 18e0f07

Please sign in to comment.