System Info
- Operating System: Ubuntu 20.04
- Python Version: 3.8.10
- Version of catkin_tools: 0.9.2
- ROS Distro: noetic
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
System Info
Build / Run Issue
catkin_makeUnknowncatkin_make_isolated --mergecatkin buildcatkin build -p1read thisExpected Behavior
If I build a package which specifies another package as a
test_dependin its package.xml butCATKIN_ENABLE_TESTING=0is specified in the build, thetest_dependis disregarded and not built as a pre-requisite.Actual Behavior
test_dependdependencies 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