citrun

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

commit ea430e769c69faaebafa05814d2fec21c53be6f8
parent 02c6f5f27c7edb40f28da1a6dc1cdd7c86e865b3
Author: Kyle Milz <kyle@0x30.net>
Date:   Wed, 15 Jun 2016 20:57:39 -0600

Test: fix up test library fallout

Diffstat:
MTest/Project.pm | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/Test/Project.pm b/Test/Project.pm @@ -53,7 +53,7 @@ EOF my $cwd = getcwd; $ENV{CITRUN_PATH} = "$cwd/share"; - $ENV{CITRUN_LIB} = "$cwd/lib/libcitrun.so.0.0" if ($^O eq "openbsd"); + $ENV{CITRUN_LIB} = "$cwd/lib/libcitrun.a" if ($^O eq "openbsd"); $ENV{CITRUN_LIB} = "$cwd/lib/libcitrun.dylib" if ($^O eq "darwin"); $ENV{CITRUN_LIB} = "$cwd/lib/libcitrun.so" if ($^O eq "linux"); @@ -69,7 +69,7 @@ sub instrumented_src { open( my $inst_fh, "<", "$self->{tmp_dir}/source_0.c" ); # Knock off the instrumentation preamble - my $line = <$inst_fh> for (1..22); + my $line = <$inst_fh> for (1..23); my $inst_src; while (my $line = <$inst_fh>) { @@ -85,7 +85,7 @@ sub inst_src_preamble { open( my $inst_fh, "<", "$self->{tmp_dir}/source_0.c" ); my $preamble; - for (1..22) { + for (1..23) { my $line = <$inst_fh>; $preamble .= $line; }