citrun

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

commit 3d8476d1125f05e4e6287f8313432e71271d94c1
parent ade5290a16d385078243a4fa52384ec9711f02d3
Author: kyle <kyle@0x30.net>
Date:   Wed, 18 Jan 2017 19:46:52 -0700

t/inst_fail: enter correct directory and fix output changes

Diffstat:
Mt/inst_fail.t | 8+++++++-
1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/t/inst_fail.t b/t/inst_fail.t @@ -23,9 +23,15 @@ Compilers path = '' Found source file '' Command line is '' Added clangtool argument '' +Instrumentation of '' finished: + 5 Lines of source code + 1 Function definitions + 1 Return statement values + 3 Total statements +Modified source written successfully. EOF -$inst->run( args => '-c bad.c', workdir => $inst->curdir ); +$inst->run( args => '-c bad.c', chdir => $inst->curdir ); my $out = clean_citrun_log(scalar $inst->stdout); eq_or_diff( $out, $out_good, 'is citrun_inst output identical', { context => 3} );