simplify test specification

before anyone starts copying from here...
This commit is contained in:
v4hn 2021-09-16 13:39:01 +02:00 committed by Michael Görner
parent 81ec8bb3aa
commit 47d20984ae

View File

@ -6,8 +6,6 @@
if (CATKIN_ENABLE_TESTING)
find_package(rostest REQUIRED)
add_executable(pick_place_test pick_place_test.cpp)
target_link_libraries(pick_place_test ${PROJECT_NAME}_pick_place_task ${catkin_LIBRARIES} gtest_main)
add_rostest(pick_place.test)
add_rostest_gtest(pick_place_test pick_place.test pick_place_test.cpp)
target_link_libraries(pick_place_test ${PROJECT_NAME}_pick_place_task ${catkin_LIBRARIES})
endif()