summaryrefslogtreecommitdiff
path: root/plugins/tpg
diff options
context:
space:
mode:
authorJeff Morriss <jeff.morriss@ulticom.com>2012-04-04 20:46:49 +0000
committerJeff Morriss <jeff.morriss@ulticom.com>2012-04-04 20:46:49 +0000
commit75c3c92f197406d14eb213e30a07955928517399 (patch)
tree6ec908c62bfc2115e32c3e747e90ad14f3552744 /plugins/tpg
parent02e0b847f15c5045bbf15b13d555c619fc8b36c9 (diff)
downloadwireshark-75c3c92f197406d14eb213e30a07955928517399.tar.gz
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
Diffstat (limited to 'plugins/tpg')
-rw-r--r--plugins/tpg/Makefile.am2
-rw-r--r--plugins/tpg/Makefile.nmake2
2 files changed, 2 insertions, 2 deletions
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)