Need --enable-code-coverage option in "configure"

Bug #516805 reported by Michel Van Eeckhout
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libECBUFR
Fix Committed
Wishlist
Michel Van Eeckhout

Bug Description

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.

Changed in libecbufr:
importance: Undecided → Wishlist
assignee: nobody → Michel Van Eeckhout (michel-vaneeckhout)
Changed in libecbufr:
status: New → In Progress
Changed in libecbufr:
status: In Progress → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.