Package: bcov Version: 0.2-1 Severity: grave Justification: renders package unusable
bcov reports the following code as having 100% coverage:
-------------------8<---------------------8<-----------------------
#include <stdio.h>
int main() {
if (1) {
printf("ok\n");
} else {
printf("not ok\n");
}
return 0;
}
-------------------8<---------------------8<-----------------------
Attached is this source file + a simple Makefile to generate a coverage
report and open it with x-www-browser.
Even though it reports that 5 instructions were instrumented and only 4
were actually run, it still reports as 100% code coverage, what's
clearly wrong.
I also tested this on a i386 VM, and the result is even worse. It
reports 4 instructions instrumented, and 4 instructions executed,
therefore 100% coverage.
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 3.0.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=pt_BR.utf8, LC_CTYPE=pt_BR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages bcov depends on:
ii libc6 2.13-24
ii libelfg0 0.8.13-3
ii libgcc1 1:4.6.2-12
ii libstdc++6 4.6.2-12
bcov recommends no packages.
bcov suggests no packages.
-- no debconf information
--
Antonio Terceiro <[email protected]>
foo.tar.gz
Description: Binary data
signature.asc
Description: Digital signature

