Skip to content

Commit

Permalink
disabled the gazebo test
Browse files Browse the repository at this point in the history
  • Loading branch information
klaxalk committed Dec 6, 2023
1 parent 5fd52d4 commit 196df9f
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 1 deletion.
2 changes: 1 addition & 1 deletion test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ find_package(catkin REQUIRED COMPONENTS mrs_uav_testing)
add_subdirectory(takeoff)

# will test takeoff in gazebo
add_subdirectory(gazebo_takeoff)
# add_subdirectory(gazebo_takeoff)

# will test if takeoff is not allowed outside of safety area
add_subdirectory(outside_safety_area)
Expand Down
24 changes: 24 additions & 0 deletions test/all_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,30 @@ set -e
trap 'last_command=$current_command; current_command=$BASH_COMMAND' DEBUG
trap 'echo "$0: \"${last_command}\" command failed with exit code $?"' ERR

PACKAGE_NAME=mrs_uav_autostart

ORIGINAL_PATH=`pwd`

while [ ! -e ".catkin_tools" ]; do
cd ..
if [[ `pwd` == "/" ]]; then
# we reached the root and didn't find the build/COLCON_IGNORE file - that's a fail!
echo "$0: could not find the root of the current workspace".
return 1
fi
done

cd build

OLD_FILES=$(find . -name "*.gcda")

for FILE in $OLD_FILES; do
echo "$0: removing old coverage file '$FILE'"
rm $FILE
done

cd $ORIGINAL_PATH

# build the package
catkin build --this # it has to be fully built normally before building with --catkin-make-args tests
catkin build --this --no-deps --catkin-make-args tests
Expand Down

0 comments on commit 196df9f

Please sign in to comment.