compile add_rostest_gtest by g++/make

asked 2021-02-08 15:15:23 -0500

femust gravatar image

updated 2021-02-08 15:16:11 -0500


so sometimes for quick checks I build a package locally in a build folder by just calling "cmake .. && make " in the package/build but I noticed that if nodes are able to be built i don't have executable for rostest_gtest, can someone tell me why? So basically cmakelists for building tests looks in the following way:

find_package(rostest REQUIRED)
add_rostest_gtest(dummy_test test.test
target_link_libraries(dummy_test ${catkin_LIBRARARIES} ${some_other_libs})

Normally executable works fine, but tests they have some problems.

edit retag flag offensive close merge delete