From 75c3c92f197406d14eb213e30a07955928517399 Mon Sep 17 00:00:00 2001 From: Jeff Morriss Date: Wed, 4 Apr 2012 20:46:49 +0000 Subject: Add a "-build" argument to checkAPIs.pl. Use that argument when building from makefiles (and thus from the buildbot). The intention is to be able to tell when a human is running the tool so we can provide more code-review guidance. As a starter, enable the "too many proto_tree_add_text() calls" check when a human is running the tool. svn path=/trunk/; revision=41943 --- plugins/tpg/Makefile.am | 2 +- plugins/tpg/Makefile.nmake | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/tpg') diff --git a/plugins/tpg/Makefile.am b/plugins/tpg/Makefile.am index 8da8254974..0d492c6893 100644 --- a/plugins/tpg/Makefile.am +++ b/plugins/tpg/Makefile.am @@ -76,4 +76,4 @@ http-parser.c: http.tpg $(TPG)/tpg.pl $(TPG)/TPG.pm $(PERL) -I$(TPG) $(TPG)/tpg.pl http.tpg checkapi: - $(PERL) $(top_srcdir)/tools/checkAPIs.pl -g abort -g termoutput $(DISSECTOR_SRC) $(DISSECTOR_INCLUDES) + $(PERL) $(top_srcdir)/tools/checkAPIs.pl -g abort -g termoutput -build $(DISSECTOR_SRC) $(DISSECTOR_INCLUDES) diff --git a/plugins/tpg/Makefile.nmake b/plugins/tpg/Makefile.nmake index 1cec105221..22c9334564 100644 --- a/plugins/tpg/Makefile.nmake +++ b/plugins/tpg/Makefile.nmake @@ -66,4 +66,4 @@ $(LEMON)\lemon.exe: cd ../plugins/mate checkapi: - $(PERL) ../../tools/checkAPIs.pl -g abort -g termoutput $(DISSECTOR_SRC) $(DISSECTOR_INCLUDES) + $(PERL) ../../tools/checkAPIs.pl -g abort -g termoutput -build $(DISSECTOR_SRC) $(DISSECTOR_INCLUDES) -- cgit v1.2.3