Skip to content

Conversation

mikeferguson
Copy link
Owner

there is no way to specify that run_tests
depends on cleanup, so our best bet is to make sure that
cleanup has few dependencies and gets run early. This was
only exposed by the documentation fix in #13

there is no way to specify that _run_tests_
depends on cleanup, so our best bet is to make sure that
cleanup has few dependencies and gets run early. This was
only exposed by the documentation fix in #13
@leunMar
Copy link

leunMar commented Oct 25, 2019

(See #13 (comment))

edit: Sounds reasonable. But the cleanup could be run too early, if only the coverage target is invoked. Maybe include a build step to the README?

catkin_make -DENABLE_COVERAGE_TESTING=ON -DCMAKE_BUILD_TYPE=Debug
catkin_make -DENABLE_COVERAGE_TESTING=ON -DCMAKE_BUILD_TYPE=Debug PACKAGE_NAME_coverage_report

Is this the intended use?

@jschleicher
Copy link
Contributor

jschleicher commented Feb 7, 2020

I had experimented with an additional dependency of run_tests* to make sure cleanup is called before executing the tests (not throwing away the just gathered results): jschleicher@4b2a2ce

But as far as I remember there was a problem, that the run_tests * target does not always exist...

@mikeferguson
Copy link
Owner Author

After quite a bit of testing, I think this is also resolved by #18 (or at least we maybe have a different problem to deal with).

@mikeferguson mikeferguson deleted the depend_order branch April 8, 2020 05:04
@jschleicher
Copy link
Contributor

#18 Looks great, thank you! I'm eager to try it out :-) Thank you!

knorth55 added a commit to knorth55/code_coverage that referenced this pull request Aug 7, 2023
append include python directories to default lists
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

Successfully merging this pull request may close these issues.

3 participants