builder: run catkin_ws packages tests

This commit is contained in:
Oleg Kalachev
2019-03-05 17:31:45 +03:00
parent 84d6a341e0
commit 429c7a8c8b
2 changed files with 6 additions and 0 deletions

View File

@@ -212,3 +212,8 @@ target_link_libraries(aruco_pose
## Add folders to be run by python nosetests
# catkin_add_nosetests(test)
if (CATKIN_ENABLE_TESTING)
find_package(rostest REQUIRED)
add_rostest(test/basic.test)
endif()

View File

@@ -144,6 +144,7 @@ echo_stamp "Installing CLEVER" \
&& my_travis_retry pip install -r /home/pi/catkin_ws/src/clever/clever/requirements.txt \
&& source /opt/ros/kinetic/setup.bash \
&& catkin_make -j2 -DCMAKE_BUILD_TYPE=Release \
&& catkin_make run_tests \
&& systemctl enable roscore \
&& systemctl enable clever \
&& echo_stamp "All CLEVER was installed!" "SUCCESS" \