Catkin automatic dependency checker
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:
- Generate Makefiles and extract all targets from it
- Exclude some default targets which we are not interested in
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
Generate various ordering of global log (based on compilation time, alphabetically or status based)
The code can be found here: https://bitbucket.org/voop/ros_depend...
Thanks for any advice,
Vladimir
Thanks, fixed.