8000 No longer compatible with Keil uVision coverage export · Issue #621 · gcovr/gcovr · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
No longer compatible with Keil uVision coverage export #621
Closed
@tacooper

Description

@tacooper

According to the latest Keil MDK/uVision docs:
https://developer.arm.com/documentation/101407/0537/Debug-Commands/COVERAGE/COVERAGE-GCOV-Export?lang=en
*.gcov files are still generated with 6 octothorpes (######) instead of 5 (#####).

This used to work before adding the new gcovr/gcov_parser.py in 3045184.
Old parsing for any number of # symbols:

# "#": uncovered

New parsing for only 5 # symbols:
elif count_str == "#####":

Is it possible to update this parsing to account for lines with any number of # symbols? Or should other coverage tools (such as Keil MDK/uVision) be expected to update their coverage generation to use exactly 5 # symbols? Is this change or incompatibility documented anywhere?

Desktop Environment:

  • OS: Windows 10
  • Keil MDK/uVision: 5.37
  • Gcovr: 5.1
  • Python: 3.9.12

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0