File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -817,6 +817,8 @@ sub lcov_geninfo(@)
817
817
# Capture data
818
818
info(" Capturing coverage data from " . join (" " , @dir ) . " \n " );
819
819
@param = (File::Spec-> catfile($tool_dir , ' geninfo' ), @dir );
820
+ # make things less confusing for user, by using the name they actually invoked
821
+ push (@param , ' --toolname' , $lcovutil::tool_name );
820
822
if ($output_filename ) {
821
823
push (@param , " --output-filename" , $output_filename );
822
824
}
Original file line number Diff line number Diff line change @@ -1228,6 +1228,7 @@ our %argCommon = ("tempdir=s" => \$tempdirname,
1228
1228
" help|h|?" => \$help ,
1229
1229
" version" => \$version ,
1230
1230
' comment=s' => \@comments ,
1231
+ ' toolname=s' => \$lcovutil::tool_name ,
1231
1232
1232
1233
" function-coverage" => \$lcovutil::func_coverage ,
1233
1234
" branch-coverage" => \$lcovutil::br_coverage ,
You can’t perform that action at this time.
0 commit comments