Is `catkin test` compatible with `catkin run_tests`?
Hello, I have a CMakeLists.txt file where I've defined my tests:
if (CATKIN_ENABLE_TESTING)
catkin_add_gtest(${PROJECT_NAME}_unit_gtests src/test/gtest/unittest.cpp)
target_link_libraries(${PROJECT_NAME}_unit_gtests ${catkin_LIBRARIES} gtest_main)
find_package(rostest REQUIRED)
roslaunch_add_file_check(launch)
add_rostest(src/test/my_ros_integration.test)
endif()
Which runs the specified tests if I run it with catkin run_tests
. However, I wanted to use the new catkin tool with the verb test
, but this doesn't work. I've built the space with catkin build
first in both cases.