-
Notifications
You must be signed in to change notification settings - Fork 307
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
Investigate running tests out of the devel space #410
Comments
The devel space should not be used, and in general all plugin files must be installed. |
Interesting, can you elaborate on that? I got the impression from that issue that it would be preferable to use the devel space, if possible. My understanding is that running tests out of the install space has the benefit of testing that files are actually installed correctly, but the disadvantage of requiring test resources and files be installed
Looks like this is due to the test nodes not being installed anymore. We ended up removing the installs for non-pluginlib-related files, sounds like that was not a good idea. Any idea why this works with |
The devel space was mostly a hack, and covers a lot of problems.
The tests do not have to get installed necessarily, because they can get started from the build space (?).
I guess they don't depend on the |
Got it. In that case, once we resolve this colcon build problem, I will close this issue. Seems it is not worth looking into it further, particularly since
I don't know I will test with only correcting the |
Following up from #404 (comment):
Originally posted by @matthew-reynolds
This seems that the way
industrial_ci
andcatkin_tools
work together causes us to require installing libraries and plugin.xml
files, even if they're only used for tests.Here is a summary of my understanding:
industrial_ci
callscatkin config --install
before building or running any tests. This is a good thing for building, but causes some hiccups when running tests.catkin_tools
, when running tests, doesn't properly source the devel spaceFor now, we're installing the required libraries and the plugin
.xml
files. Untilcatkin_tools
is updated or unlessindustrial_ci
implements a workaround, I don't think there's much we can do to avoid these installs.I'm mainly opening this issue to track the behaviour and watch for upstream changes, but if there's a better solution that I've missed, I'd love to hear it.
The text was updated successfully, but these errors were encountered: