Skip to content

Python 3 script to filter lcov output and remove function signature lines that can never be reported as hit

License

Notifications You must be signed in to change notification settings

symboxtra/lcov-llvm-function-mishit-filter

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

lcov-llvm-function-mishit-filter

Python 3 script to filter lcov output and remove function signature lines that are never report as hit.

What's This?

The lcov test coverage utility is designed to work with gcc and has some issued with running on binaries generated by the llvm compiler. One of these issues is that function signatures are output as lines that should be hit. However, while the binary is running those function signature lines are never registered as hit. Here's a simple python script to filter those lines from the lcov output.

How To?

remove-function-lines.py lcov_output.info cleaned_output.info

More Info

Check out this issue from the lcov project linux-test-project/lcov#30

About

Python 3 script to filter lcov output and remove function signature lines that can never be reported as hit

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%