From: Peter O. <obe...@us...> - 2010-08-23 14:47:51
|
Update of /cvsroot/ltp/utils/analysis/lcov/example In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv685/example Modified Files: Makefile 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: Makefile =================================================================== RCS file: /cvsroot/ltp/utils/analysis/lcov/example/Makefile,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** Makefile 7 Jun 2006 09:20:37 -0000 1.4 --- Makefile 23 Aug 2010 14:47:43 -0000 1.5 *************** *** 71,75 **** $(LCOV) --zerocounters --directory . ./example ! $(LCOV) --capture --directory . --output-file trace_noargs.info --test-name test_noargs test_2_to_2000: --- 71,75 ---- $(LCOV) --zerocounters --directory . ./example ! $(LCOV) --capture --directory . --output-file trace_noargs.info --test-name test_noargs --no-external test_2_to_2000: *************** *** 81,85 **** $(LCOV) --zerocounters --directory . ./example 2 2000 ! $(LCOV) --capture --directory . --output-file trace_args.info --test-name test_2_to_2000 test_overflow: --- 81,85 ---- $(LCOV) --zerocounters --directory . ./example 2 2000 ! $(LCOV) --capture --directory . --output-file trace_args.info --test-name test_2_to_2000 --no-external test_overflow: *************** *** 91,95 **** $(LCOV) --zerocounters --directory . ./example 0 100000 || true ! $(LCOV) --capture --directory . --output-file trace_overflow.info --test-name "test_overflow" clean: --- 91,95 ---- $(LCOV) --zerocounters --directory . ./example 0 100000 || true ! $(LCOV) --capture --directory . --output-file trace_overflow.info --test-name "test_overflow" --no-external clean: |