Make integraiton test script work with kinetic.

This commit is contained in:
James Goppert
2016-08-03 17:17:07 -04:00
parent 5b06b40ed9
commit feccb9bfc1
+6 -1
View File
@@ -25,7 +25,12 @@ TEST_RESULT_TARGET_DIR=$JOB_DIR/test_results
# EXPORT_CHARTS=/sitl/testing/export_charts.py
# source ROS env
source /opt/ros/indigo/setup.bash
if [ -f /opt/ros/indigo/setup.bash ]
then
source /opt/ros/indigo/setup.bash
else
source /opt/ros/kinetic/setup.bash
fi
source $SRC_DIR/integrationtests/setup_gazebo_ros.bash $SRC_DIR
echo "deleting previous test results ($TEST_RESULT_TARGET_DIR)"