-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactored tests agains new mrs_uav_testing api
- Loading branch information
Showing
55 changed files
with
506 additions
and
1,389 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,83 +1,9 @@ | ||
find_package(rostest REQUIRED) | ||
|
||
# Corrections test | ||
add_subdirectory(gps_baro) | ||
|
||
## DOES NOT COMPILE | ||
# add_rostest_gtest(CorrectionsTest | ||
# corrections/corrections.test | ||
# corrections/test_corrections.cpp | ||
# ) | ||
add_subdirectory(gps_garmin) | ||
|
||
# target_link_libraries(CorrectionsTest | ||
# mrs_lib | ||
# ${catkin_LIBRARIES} | ||
# ) | ||
add_subdirectory(rtk) | ||
|
||
# add_dependencies(CorrectionsTest | ||
# ${${PROJECT_NAME}_EXPORTED_TARGETS} | ||
# ${catkin_EXPORTED_TARGETS} | ||
# ) | ||
|
||
# GpsBaro basic | ||
|
||
add_rostest_gtest(GpsBaro_basic | ||
gps_baro/basic/gps_baro_basic.test | ||
gps_baro/basic/test.cpp | ||
) | ||
|
||
target_link_libraries(GpsBaro_basic | ||
${catkin_LIBRARIES} | ||
) | ||
|
||
add_dependencies(GpsBaro_basic | ||
${${PROJECT_NAME}_EXPORTED_TARGETS} | ||
${catkin_EXPORTED_TARGETS} | ||
) | ||
|
||
# GpsGarmin basic | ||
|
||
add_rostest_gtest(GpsGarmin_basic | ||
gps_garmin/basic/gps_garmin_basic.test | ||
gps_garmin/basic/test.cpp | ||
) | ||
|
||
target_link_libraries(GpsGarmin_basic | ||
${catkin_LIBRARIES} | ||
) | ||
|
||
add_dependencies(GpsGarmin_basic | ||
${${PROJECT_NAME}_EXPORTED_TARGETS} | ||
${catkin_EXPORTED_TARGETS} | ||
) | ||
|
||
# Rtk basic | ||
|
||
add_rostest_gtest(Rtk_basic | ||
rtk/basic/rtk_basic.test | ||
rtk/basic/test.cpp | ||
) | ||
|
||
target_link_libraries(Rtk_basic | ||
${catkin_LIBRARIES} | ||
) | ||
|
||
add_dependencies(Rtk_basic | ||
${${PROJECT_NAME}_EXPORTED_TARGETS} | ||
${catkin_EXPORTED_TARGETS} | ||
) | ||
|
||
# RtkGarmin basic | ||
|
||
add_rostest_gtest(RtkGarmin_basic | ||
rtk_garmin/basic/rtk_garmin_basic.test | ||
rtk_garmin/basic/test.cpp | ||
) | ||
|
||
target_link_libraries(RtkGarmin_basic | ||
${catkin_LIBRARIES} | ||
) | ||
|
||
add_dependencies(RtkGarmin_basic | ||
${${PROJECT_NAME}_EXPORTED_TARGETS} | ||
${catkin_EXPORTED_TARGETS} | ||
) | ||
add_subdirectory(rtk_garmin) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#!/bin/bash | ||
|
||
set -e | ||
|
||
trap 'last_command=$current_command; current_command=$BASH_COMMAND' DEBUG | ||
trap 'echo "$0: \"${last_command}\" command failed with exit code $?"' ERR | ||
|
||
# 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 |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
add_subdirectory(gps_baro_basic) |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.