From feccb9bfc13bb87e7372a1de7321164fd0a17bd7 Mon Sep 17 00:00:00 2001 From: James Goppert Date: Wed, 3 Aug 2016 17:17:07 -0400 Subject: [PATCH] Make integraiton test script work with kinetic. --- integrationtests/run_tests.bash | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/integrationtests/run_tests.bash b/integrationtests/run_tests.bash index b17b7511dc..da22cb5eef 100755 --- a/integrationtests/run_tests.bash +++ b/integrationtests/run_tests.bash @@ -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)"