BIND 10 trac613, updated. d1a73e27eb7d3c133e871809efeea5174b01a2ee [trac613] add a make rule 'cppcheck' to invoke cppcheck.

BIND 10 source code commits bind10-changes at lists.isc.org
Fri Feb 25 02:30:28 UTC 2011


The branch, trac613 has been updated
       via  d1a73e27eb7d3c133e871809efeea5174b01a2ee (commit)
      from  1022129fcea6743037ed7ae2b363b0af082afd30 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit d1a73e27eb7d3c133e871809efeea5174b01a2ee
Author: JINMEI Tatuya <jinmei at isc.org>
Date:   Thu Feb 24 18:30:13 2011 -0800

    [trac613] add a make rule 'cppcheck' to invoke cppcheck.

-----------------------------------------------------------------------

Summary of changes:
 Makefile.am |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

-----------------------------------------------------------------------
diff --git a/Makefile.am b/Makefile.am
index 68a41d6..9a28f20 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -70,6 +70,13 @@ clean-coverage: clean-cpp-coverage clean-python-coverage
 
 report-coverage: report-cpp-coverage report-python-coverage
 
+# for static C++ check using cppcheck (when available)
+cppcheck:
+	cppcheck --enable=all --suppressions src/cppcheck-suppress.lst \
+		--quiet --error-exitcode=1 \
+		--template '{file}:{line}: check_fail: {message} ({severity},{id})' \
+		src
+
 #### include external sources in the distributed tarball:
 EXTRA_DIST = ext/asio/README
 EXTRA_DIST += ext/asio/asio/local/stream_protocol.hpp




More information about the bind10-changes mailing list