File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -828,6 +828,8 @@ sub lcov_geninfo(@)
828
828
if ($follow ) {
829
829
push (@param , " --follow" );
830
830
}
831
+ push (@param , ' --msg-log' , $lcovutil::message_filename )
832
+ if $lcovutil::message_filename ;
831
833
if ($lcovutil::verbose != 0) {
832
834
if ($lcovutil::verbose < 0) {
833
835
for (my $i = $lcovutil::verbose ; $i < 0; ++$i ) {
Original file line number Diff line number Diff line change @@ -104,6 +104,7 @@ our @message_count;
104
104
our @expected_message_count ;
105
105
our %message_types ;
106
106
our $message_log ;
107
+ our $message_filename ;
107
108
our $suppressAfter = 100; # stop warning after this number of messages
108
109
our %ERROR_ID ;
109
110
our %ERROR_NAME ;
@@ -1479,6 +1480,7 @@ sub parseOptions
1479
1480
$tool_name ) .
1480
1481
" .msg" ;
1481
1482
}
1483
+ $message_filename = $message_log ;
1482
1484
open (LOG, " >" , $message_log ) or
1483
1485
die (" unable to write message log '$message_log ': $! " );
1484
1486
$message_log = \*LOG;
You can’t perform that action at this time.
0 commit comments