From: Peter O. <obe...@us...> - 2012-06-08 14:19:52
|
Update of /cvsroot/ltp/utils/analysis/lcov/bin In directory vz-cvs-4.sog:/tmp/cvs-serv20037/bin Modified Files: geninfo Log Message: geninfo: Make geninfo work more reliably on MSYS From: Martin Hopfeld <mar...@ss...> Using the lcov tools on Win7 with MSYS and MinGW 4.5.1/4.5.2 raised some issues for us: geninfo created in the for one source file in the 'SF:' line paths starting with a lowercase drive letter and sometimes starting with uppercase drive letters. This lead to inaccurate coverage results on the MSYS platform. This patch fixes this issue. Index: geninfo =================================================================== RCS file: /cvsroot/ltp/utils/analysis/lcov/bin/geninfo,v retrieving revision 1.96 retrieving revision 1.97 diff -C2 -d -r1.96 -r1.97 *** geninfo 10 Apr 2012 11:48:52 -0000 1.96 --- geninfo 8 Jun 2012 14:19:49 -0000 1.97 *************** *** 1281,1285 **** # prepend volume, since in msys C: is always mounted to /c ! $volume =~ s|^([a-zA-Z]+):|/$1|; unshift( @dirs, $volume ); --- 1281,1285 ---- # prepend volume, since in msys C: is always mounted to /c ! $volume =~ s|^([a-zA-Z]+):|/\L$1\E|; unshift( @dirs, $volume ); |