citrun

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

commit 683443e278ae87ff04c5971685fc385aca52690e
parent 659e4e27a764afbc34e25123147eddd6c219b441
Author: Kyle Milz <kyle@0x30.net>
Date:   Tue, 21 Jun 2016 22:36:09 -0600

tt: show column names with a better comment

Diffstat:
Mtt/libressl.t | 4+---
Mtt/vim.t | 6++----
2 files changed, 3 insertions(+), 7 deletions(-)

diff --git a/tt/libressl.t b/tt/libressl.t @@ -47,10 +47,8 @@ cmp_ok( $runtime_metadata->{pgrp}, "<", 100000, "libressl pgrp upper bound check my $tus = $runtime_metadata->{tus}; my @sorted_tus = sort { $a->{filename} cmp $b->{filename} } @$tus; -# Use this to regenerate: -#print STDERR "[ \"$_->{filename}\",\t$_->{lines},\t$_->{inst_sites} ],\n" for (@sorted_tus); -# [ File Name, Total lines in file, Number of instrumented sites ]; my @known_good = ( + # file name lines instrumented sites [ "apps/openssl/apps.c", 2323, 918 ], [ "apps/openssl/apps_posix.c", 165, 18 ], [ "apps/openssl/asn1pars.c", 483, 124 ], diff --git a/tt/vim.t b/tt/vim.t @@ -55,10 +55,8 @@ cmp_ok( $runtime_metadata->{pgrp}, "<", 100000, "vim pgrp upper bound check" ); my $tus = $runtime_metadata->{tus}; my @sorted_tus = sort { $a->{filename} cmp $b->{filename} } @$tus; -# Use this to regenerate: -# print STDERR "[ \"$_->{filename}\", $_->{lines}, $_->{inst_sites} ],\n" for (@sorted_tus); -# [ File Name, Total lines in file, Number of instrumented sites ]; my @known_good = ( + # file name lines instrumented sites [ "auto/pathdef.c", 11, 71 ], [ "blowfish.c", 708, 117 ], [ "buffer.c", 5828, 1368 ], @@ -154,8 +152,8 @@ cmp_ok( $runtime_metadata->{pgrp}, "<", 100000, "xxd pgrp upper bound check" ); $tus = $runtime_metadata->{tus}; @sorted_tus = sort { $a->{filename} cmp $b->{filename} } @$tus; -# Use this to regenerate: @known_good = ( + # file name lines instrumented sites [ "src/xxd/xxd.c", 851, 277 ], );