From: Peter O. <obe...@us...> - 2013-07-01 11:49:49
|
Update of /cvsroot/ltp/utils/analysis/lcov/bin In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv23843/bin Modified Files: lcov Log Message: lcov: fix --config-file not being passed to geninfo Calling lcov to capture coverage data while specifying --config-file will result in the configuration directives of that file not being used during data collection. Fix this by ensuring that --config-file is passed on to geninfo. Reported-by: liu...@gm... Index: lcov =================================================================== RCS file: /cvsroot/ltp/utils/analysis/lcov/bin/lcov,v retrieving revision 1.96 retrieving revision 1.97 diff -C2 -d -r1.96 -r1.97 *** lcov 2 May 2013 11:02:24 -0000 1.96 --- lcov 1 Jul 2013 11:49:46 -0000 1.97 *************** *** 890,893 **** --- 890,896 ---- } } + if (defined($opt_config_file)) { + @param = (@param, "--config-file", $opt_config_file); + } system(@param) and exit($? >> 8); |