Compiling rostests by make/g++

asked 2021-02-08 15:13:55 -0500

femust gravatar image

updated 2021-02-10 00:37:34 -0500

Hey,

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 my code looks like this:

find_package(rostest REQUIRED)
add_rostest_gtest(dummy_test test.test dummy_test.cc)
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