From: Peter O. <obe...@us...> - 2010-08-23 14:47:51
|
Update of /cvsroot/ltp/utils/analysis/lcov/man In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv685/man Modified Files: geninfo.1 lcov.1 lcovrc.5 Log Message: lcov: add option to exclude external files Implement an option for users to specify that external source files should be excluded when capturing coverage data. External source files are files which are not located in the directories specified by the --directory and --base-directory options of lcov/geninfo. Index: geninfo.1 =================================================================== RCS file: /cvsroot/ltp/utils/analysis/lcov/man/geninfo.1,v retrieving revision 1.17 retrieving revision 1.18 diff -C2 -d -r1.17 -r1.18 *** geninfo.1 6 Aug 2010 11:14:38 -0000 1.17 --- geninfo.1 23 Aug 2010 14:47:43 -0000 1.18 *************** *** 33,36 **** --- 33,38 ---- .RB [ \-\-no\-recursion ] .I directory + .RB [ \-\-external ] + .RB [ \-\-no\-external ] .RE .SH DESCRIPTION *************** *** 160,163 **** --- 162,182 ---- .RE + .B \-\-external + .br + .B \-\-no\-external + .br + .RS + Specify whether to capture coverage data for external source files. + + External source files are files which are not located in one of the directories + specified by \-\-directory or \-\-base\-directory. Use \-\-external to include + external source files while capturing coverage data or \-\-no\-external to + ignore this data. + + Data for external source files is + .B included + by default. + .RE + .B \-f .br Index: lcov.1 =================================================================== RCS file: /cvsroot/ltp/utils/analysis/lcov/man/lcov.1,v retrieving revision 1.22 retrieving revision 1.23 diff -C2 -d -r1.22 -r1.23 *** lcov.1 6 Aug 2010 11:14:38 -0000 1.22 --- lcov.1 23 Aug 2010 14:47:43 -0000 1.23 *************** *** 40,43 **** --- 40,45 ---- .br .RB [ \-\-no\-markers ] + .RB [ \-\-external ] + .RB [ \-\-no\-external ] .br .RE *************** *** 346,349 **** --- 348,368 ---- .RE + .B \-\-external + .br + .B \-\-no\-external + .br + .RS + Specify whether to capture coverage data for external source files. + + External source files are files which are not located in one of the directories + specified by \-\-directory or \-\-base\-directory. Use \-\-external to include + external source files while capturing coverage data or \-\-no\-external to + ignore this data. + + Data for external source files is + .B included + by default. + .RE + .B \-e .I tracefile Index: lcovrc.5 =================================================================== RCS file: /cvsroot/ltp/utils/analysis/lcov/man/lcovrc.5,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** lcovrc.5 20 Aug 2010 14:27:19 -0000 1.16 --- lcovrc.5 23 Aug 2010 14:47:43 -0000 1.17 *************** *** 198,203 **** # This value is ignored when lcov_list_full_path is non\-zero. .br - lcov_list_truncate_max = 20 .PP --- 198,209 ---- # This value is ignored when lcov_list_full_path is non\-zero. .br lcov_list_truncate_max = 20 + + # Specify whether to capture coverage data for external source + .br + # files + .br + geninfo_external = 1 + .br .PP *************** *** 554,557 **** --- 560,576 ---- .PP + .BR geninfo_external " =" + .IR 0 | 1 + .IP + If non\-zero, capture coverage data for external source files. + + External source files are files which are not located in one of the directories + specified by the \-\-directory or \-\-base\-directory options of + .BR lcov / geninfo . + + Default is 1. + .PP + + .BR lcov_gcov_dir " =" .I path_to_kernel_coverage_data |