Skip to content

Commit

Permalink
Create run_tests.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
ZdenekM committed Mar 27, 2018
1 parent d35a4b5 commit abb5931
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions run_tests.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
#!/bin/bash

set -e
set -o pipefail

prefix="./"
repo_dir=$PWD

for dir in $(find ./ -maxdepth 2 -type d -name 'art_*')
do
dir=${dir#$prefix}
if [ -f "$dir/package.xml" ]; then
echo "Running test for package:" $dir
cd "$dir"
catkin run_tests --no-deps --this
catkin_test_results ~/catkin_ws/build/${PWD##*/}
cd $repo_dir
fi
done

0 comments on commit abb5931

Please sign in to comment.