citrun

watch C/C++ source code execute
Log | Files | Refs | LICENSE

commit f55d3401f9f01e36cb3e7ba126d7c2f8a598b5c4
parent 376b0f84252b960e4455915708d22172225d6c0f
Author: Kyle Milz <kyle@0x30.net>
Date:   Fri,  5 Aug 2016 15:04:19 -0600

bin: gcov script does a real good clean

Diffstat:
MTest/Viewer.pm | 1+
Mbin/gcov.sh | 2++
2 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/Test/Viewer.pm b/Test/Viewer.pm @@ -70,6 +70,7 @@ sub get_dynamic_data { sub cmp_static_data { my ($self, $known_good) = @_; + is( $self->{ntus}, scalar @$known_good, "translation unit count" ); # Sort these alphabetically by file name (field 0). my @sorted_tus = sort { $a->[0] cmp $b->[0] } @{ $self->{tus} }; diff --git a/bin/gcov.sh b/bin/gcov.sh @@ -1,5 +1,7 @@ #!/bin/sh -e +git clean -fdx + export CITRUN_COVERAGE=1 CFLAGS="-coverage -O0 -ggdb" jam -j4