aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mate
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/mate
parent02e0b847f15c5045bbf15b13d555c619fc8b36c9 (diff)
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/mate')
-rw-r--r--plugins/mate/Makefile.am2
-rw-r--r--plugins/mate/Makefile.nmake2
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/mate/Makefile.am b/plugins/mate/Makefile.am
index 92ee3edb98..5a4c4dcf33 100644
--- a/plugins/mate/Makefile.am
+++ b/plugins/mate/Makefile.am
@@ -146,4 +146,4 @@ mate_grammar.c : mate_grammar.lemon mate.h mate_util.h $(LEMON)/lemon$(EXEEXT)
(rm -f grammar.c grammar.h ; false)
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/mate/Makefile.nmake b/plugins/mate/Makefile.nmake
index 5510bc57d2..6de4d76314 100644
--- a/plugins/mate/Makefile.nmake
+++ b/plugins/mate/Makefile.nmake
@@ -134,4 +134,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)