Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test_depend resolution when testing is disabled #769

Open
5 tasks
Doomerdinger opened this issue Nov 22, 2023 · 0 comments
Open
5 tasks

test_depend resolution when testing is disabled #769

Doomerdinger opened this issue Nov 22, 2023 · 0 comments

Comments

@Doomerdinger
Copy link

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

  • Works with catkin_make Unknown
  • Works with catkin_make_isolated --merge
  • Works with catkin build
  • Works with catkin build -p1
  • I did not read this

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant