citrun

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

commit 288fc0fde25945d651ab9b4229bd3b06e345fe9f
parent 1cc2b05e88b6528d2554cbbe7ef178a4de9475c4
Author: Kyle Milz <kyle@getaddrinfo.net>
Date:   Fri, 25 Mar 2016 14:43:23 -0600

t: make check more slack

Diffstat:
Mt/runtime_counters_increase.t | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/t/runtime_counters_increase.t b/t/runtime_counters_increase.t @@ -61,7 +61,7 @@ my @exec_lines2 = @{ $data->[0] }; # Only lines 8 - 12 in the source code above are executing for (8..12) { - cmp_ok( $exec_lines1[$_], ">", 1, "line $_ executed nonzero times" ); + cmp_ok( $exec_lines1[$_], ">", 0, "line $_ executed nonzero times" ); # Make sure the second time we queried the execution counts they were higher cmp_ok( $exec_lines2[$_], ">=", $exec_lines1[$_], "line $_ after > before" ); }