File tree Expand file tree Collapse file tree 7 files changed +379
-152
lines changed Expand file tree Collapse file tree 7 files changed +379
-152
lines changed Original file line number Diff line number Diff line change 55scripts=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " && pwd ) "
66source " ${scripts} /env.sh"
77
8- LCOV_PATH=" ${scripts} /lcov-1.11 /bin"
8+ LCOV_PATH=" ${scripts} /lcov-1.12 /bin"
99OBJ_DIR=" ${OBJECT_FILE_DIR_normal} /${CURRENT_ARCH} "
1010
1111# Fix for the new LLVM-COV that requires gcov to have a -v parameter
File renamed without changes.
Original file line number Diff line number Diff line change 3838use strict;
3939use File::Basename;
4040use Getopt::Long;
41+ use Cwd qw/ abs_path/ ;
4142
4243
4344# Constants
44- our $lcov_version = ' LCOV version 1.11' ;
45+ our $tool_dir = abs_path(dirname($0 ));
46+ our $lcov_version = ' LCOV version ' .` $tool_dir /get_version.sh --full` ;
4547our $lcov_url = " http://ltp.sourceforge.net/coverage/lcov.php" ;
4648our $tool_name = basename($0 );
4749
@@ -67,9 +69,6 @@ our $input_filename;
6769$SIG {__WARN__ } = \&warn_handler;
6870$SIG {__DIE__ } = \&die_handler;
6971
70- # Prettify version string
71- $lcov_version =~ s /\$\s *Revision\s *:?\s *(\S +)\s *\$ / $1 / ;
72-
7372# Parse command line options
7473if (!GetOptions(" output-filename=s" => \$output_filename ,
7574 " version" => \$version ,
You can’t perform that action at this time.
0 commit comments