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

colcon lcov-result doesn't print summary if no filters #8

Open
jpsamper2009 opened this issue Oct 19, 2018 · 0 comments
Open

colcon lcov-result doesn't print summary if no filters #8

jpsamper2009 opened this issue Oct 19, 2018 · 0 comments

Comments

@jpsamper2009
Copy link
Collaborator

$ colcon lcov-result --packages-select my_cool_pkg
Starting >>> my_cool_pkg
Finished <<< my_cool_pkg [0.79s]          

Summary: 1 package finished [0.96s]

Calculating total coverage... 

Generating HTML: Done
$ colcon lcov-result --packages-select my_cool_pkg --filter foo
Starting >>> my_cool_pkg
Finished <<< my_cool_pkg [0.82s]          

Summary: 1 package finished [0.99s]

Calculating total coverage... 

Applying filters... 
Reading tracefile /home/jp.samper/my_cool_ws/lcov/total_coverage.info
Summary coverage rate:
  lines......: 78.8% (26 of 33 lines)
  functions..: 95.2% (20 of 21 functions)
  branches...: 40.3% (25 of 62 branches)

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

No branches or pull requests

1 participant