ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A
Ask Your Question

eclipse project - catkin run tests?

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

EEngineer gravatar image

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

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 -0600

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

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


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

Seen: 236 times

Last updated: Oct 27 '14