svn commit: samba r4493 - in branches/SAMBA_4_0/source/lib/ldb: .

tridge at samba.org tridge at samba.org
Sun Jan 2 23:48:08 GMT 2005


Author: tridge
Date: 2005-01-02 23:48:07 +0000 (Sun, 02 Jan 2005)
New Revision: 4493

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=4493

Log:
change name of README.gcov so it doesn't get deleted by "make clean" :-)


Added:
   branches/SAMBA_4_0/source/lib/ldb/README_gcov.txt
Removed:
   branches/SAMBA_4_0/source/lib/ldb/README.gcov


Changeset:
Deleted: branches/SAMBA_4_0/source/lib/ldb/README.gcov
===================================================================
--- branches/SAMBA_4_0/source/lib/ldb/README.gcov	2005-01-02 23:44:08 UTC (rev 4492)
+++ branches/SAMBA_4_0/source/lib/ldb/README.gcov	2005-01-02 23:48:07 UTC (rev 4493)
@@ -1,33 +0,0 @@
-Here is how to use gcov to test code coverage in ldb.
-
-Step 1: enable gcov support
-
-     Edit Makefile.ldb and uncommend the two GCOV_ lines
-     
-Step 2: build ldb
-
-     make -sf Makefile.ldb clean all
-
-Step 3: run the test suite
-     make -sf Makefile.ldb test-tdb
-
-Step 4: produce the gcov report
-     make -sf Makefile.ldb gcov
-
-Step 5: read the summary reports
-     less *.report.gcov
-
-Step 6: examine the per-file reports
-     less ldb_tdb\#ldb_tdb.c.gcov
-
-You can also combine steps 2 to 4 like this:
-
-     make -sf Makefile.ldb clean all test-tdb gcov
-
-Note that you should not expect 100% coverage, as some error paths
-(such as memory allocation failures) are verr hard to trigger. There
-are ways of working around this, but they are quite tricky (they
-involve allocation wrappers that "fork and fail on malloc").
-
-The lines to look for in the per-file reports are the ones starting
-with "#####". Those are lines that are never executed. 

Copied: branches/SAMBA_4_0/source/lib/ldb/README_gcov.txt (from rev 4492, branches/SAMBA_4_0/source/lib/ldb/README.gcov)



More information about the samba-cvs mailing list