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 5
5
scripts=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " && pwd ) "
6
6
source " ${scripts} /env.sh"
7
7
8
- LCOV_PATH=" ${scripts} /lcov-1.11 /bin"
8
+ LCOV_PATH=" ${scripts} /lcov-1.12 /bin"
9
9
OBJ_DIR=" ${OBJECT_FILE_DIR_normal} /${CURRENT_ARCH} "
10
10
11
11
# 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 38
38
use strict;
39
39
use File::Basename;
40
40
use Getopt::Long;
41
+ use Cwd qw/ abs_path/ ;
41
42
42
43
43
44
# 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` ;
45
47
our $lcov_url = " http://ltp.sourceforge.net/coverage/lcov.php" ;
46
48
our $tool_name = basename($0 );
47
49
@@ -67,9 +69,6 @@ our $input_filename;
67
69
$SIG {__WARN__ } = \&warn_handler;
68
70
$SIG {__DIE__ } = \&die_handler;
69
71
70
- # Prettify version string
71
- $lcov_version =~ s /\$\s *Revision\s *:?\s *(\S +)\s *\$ / $1 / ;
72
-
73
72
# Parse command line options
74
73
if (!GetOptions(" output-filename=s" => \$output_filename ,
75
74
" version" => \$version ,
You can’t perform that action at this time.
0 commit comments