You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We need to add a "--enable-code-coverage" option in "configure" that adds compiling CFLAGS options "-fprofile-arcs" and "-ftest-coverage" for gcc.
When compiling with those options, the resulting binary files generate code coverage statistics for each execution. This is great to measure the extent of our unit tests. When running "gcov" on those statistics, you can produce an annotated source file that tells you which lines were executed and which were not. You can then add tests to cover the lines you missed.
We need to add a "--enable-code-coverage" option in "configure" that adds compiling CFLAGS options "-fprofile-arcs" and "-ftest-coverage" for gcc.
When compiling with those options, the resulting binary files generate code coverage statistics for each execution. This is great to measure the extent of our unit tests. When running "gcov" on those statistics, you can produce an annotated source file that tells you which lines were executed and which were not. You can then add tests to cover the lines you missed.
Imported from Launchpad using lp2gh.
The text was updated successfully, but these errors were encountered: