Catkin automatic dependency checker

asked 2014-10-08 06:35:20 -0500

voop gravatar image

updated 2014-10-09 01:51:06 -0500

Hi all,
is there a way how to test that dependencies are set correctly for every target in the package(s)?

I think it is not easy to keep dependencies consistent for larger projects in ROS especially if there are several contributors involving in the project and the project itself is focused on research instead of development. In my opinion this is common for many packages inside the ROS.

I tried to design an simple, brute-force, tester and I would like to ask you whether the assumptions adopted for testing are correct or whether there is something I missed. The script works as follow:

  1. Generate Makefiles and extract all targets from it
  2. Exclude some default targets which we are not interested in
  3. For each target do:

    3a. make target and log outputs

    3b. store status (FAIL|SUCC) and compilation time into the global log

    3c. make clean

  4. Generate various ordering of global log (based on compilation time, alphabetically or status based)

The code can be found here:

Thanks for any advice,

edit retag flag offensive close merge delete


  1. should be: "Generate Makefiles" - not "cmake files"
Dirk Thomas gravatar image Dirk Thomas  ( 2014-10-08 11:36:15 -0500 )edit

Thanks, fixed.

voop gravatar image voop  ( 2014-10-09 01:54:22 -0500 )edit