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

Revision history [back]

click to hide/show revision 1
initial version

Devel jobs should however have access to test_depends

Before the devel jobs are run their test depends are installed from released packages. If you need another package to run your tests you can add the test_depend and it will be available.

There's only currently support for having test dependencies on released packages. Adding support for arbitrary source checkouts significantly increases the complexity and burden on the buildfarm and also makes it much harder to reproduce for a new developer/contributor who then has to checkout arbitrary other content to run the tests. Extending the buildfarm to support this is something that could be contributed, but at the same time extending the build/test tools to detect and give good warnings/errors if the developer fails to checkout the appropriate source trees would also want to be done in parallel.

The other workaround is that the test build actually fetches the resources that it needs while it builds the tests. This is not generally preferred as it no longer leaves your builds self contained and may not work if your offline but it will work for CI and most developers.