diff options
author | Andrew Tridgell <tridge@samba.org> | 2005-01-02 09:46:59 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:07:56 -0500 |
commit | 09a76e204cf339862f8b0b45979d65cc34aa3c36 (patch) | |
tree | 4d533b65f33d04d5b76d3435ad41b54c2998df44 /source4/lib/ldb/Makefile.ldb | |
parent | 62ffbdb9f1d9ded63f6d8623f14741145a2d6b47 (diff) | |
download | samba-09a76e204cf339862f8b0b45979d65cc34aa3c36.tar.gz samba-09a76e204cf339862f8b0b45979d65cc34aa3c36.tar.bz2 samba-09a76e204cf339862f8b0b45979d65cc34aa3c36.zip |
r4477: expanded the test suite to increase code coverage a lot
(This used to be commit 4edbd1b18ee38e584cf844b64c7fcb2645921837)
Diffstat (limited to 'source4/lib/ldb/Makefile.ldb')
-rw-r--r-- | source4/lib/ldb/Makefile.ldb | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/source4/lib/ldb/Makefile.ldb b/source4/lib/ldb/Makefile.ldb index a472f949af..75c298241d 100644 --- a/source4/lib/ldb/Makefile.ldb +++ b/source4/lib/ldb/Makefile.ldb @@ -15,6 +15,8 @@ TALLOCDIR=../talloc CFLAGS1=-Wall -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith \ -Wcast-qual -Wcast-align -Wwrite-strings -g -Iinclude -I. -I.. \ -I$(TDBDIR)/include -I$(TALLOCDIR) -DUSE_MMAP=1 $(LDAP_FLAGS) + +# enable the following two lines to build with gcov code coverage support #GCOV_FLAGS = -ftest-coverage -fprofile-arcs #GCOV_LIBS = -lgcov @@ -99,6 +101,6 @@ test: test-tdb test-ldap gcov: gcov -po ldb_ldap ldb_ldap/*.c 2| tee ldb_ldap.report.gcov gcov -po ldb_tdb ldb_tdb/*.c 2| tee ldb_tdb.report.gcov - gcov -po common common/*.c 2| tee ldb_common.report.gcov - gcov -po modules modules/*.c 2| tee ldb_modules.report.gcov - gcov -po tools tools/*.c 2| tee ldb_tools.report.gcov + gcov -po common common/*.c 2| tee common.report.gcov + gcov -po modules modules/*.c 2| tee modules.report.gcov + gcov -po tools tools/*.c 2| tee tools.report.gcov |