Duplicate folder structure (--prefix does not help)
bgintzairspace opened this issue · 2 comments
Hello,
I am newish to coverage reports, but I am getting a weird error that I can't seem to find answers about on stackoverflow.
I am generating a coverage report from a Flutter test and it looks like it creates the lcov.info file correctly, for example:
SF:lib/src/features/authentication/domain/app_user.dart
It also gets into the lcov_filtered.info file with the same information. But once I use genhtml to create the HTML report it duplicates the full path, so the report for the above file lives in
lib/src/features/authentication/domain/lib/src/features/authentication/domain
And shows up in the HTML as:
I feel like I am missing something simple. Any ideas?
This looks like bug #230.
Which lcov version are you using?
If updating to the 2.1 release and/or updating to current TOT do not resolve the issue: please try to create a testcase which exhibits the problem.
Thanks
Henry
@henry2cox Thank you! Upgrading fixed the issue!