Skip to content

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

@jpsamper2009

Description

@jpsamper2009
$ 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions