ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

eclipse project - catkin run tests?

asked 2014-10-24 21:19:59 -0500

EEngineer gravatar image

updated 2014-10-24 21:27:15 -0500

I built eclipse projects for my modules using catkin_make -G"Eclipse CDT4 - Unix Makefiles" but it did not create test targets. It seems that eclipse is set up to just run make this way, and trying to run target test, run_tests, etc. does not work.

Alternatively, is there a way to make catkin_make (and make without arguments in the build directory) build and run the tests by default?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2014-10-27 14:42:56 -0500

Dirk Thomas gravatar image

This is not specific to Eclipse. You have to run CMake with the flag -DCATKIN_ENABLE_TESTING=1 in order to configure the packages with their tests.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2014-10-24 21:19:59 -0500

Seen: 312 times

Last updated: Oct 27 '14