catkin / catkin_tools

Command line tools for working with catkin
Apache License 2.0
163 stars 146 forks source link

`test_depend` resolution when testing is disabled #769

Open Doomerdinger opened 10 months ago

Doomerdinger commented 10 months ago

System Info

Build / Run Issue

Expected Behavior

If I build a package which specifies another package as a test_depend in its package.xml but CATKIN_ENABLE_TESTING=0 is specified in the build, the test_depend is disregarded and not built as a pre-requisite.

Actual Behavior

test_depend dependencies are built regardless of if testing is enabled or not.

Steps to Reproduce the Issue

The following is a simple example project. If you change the cmake args to disable testing and then build package B, catkin tools will still build package A first. test_depend.zip