From 8f08a4e74ea8aa56284e6035017adf1c423c4f09 Mon Sep 17 00:00:00 2001 From: Gerald Combs Date: Tue, 18 Sep 2018 10:09:31 -0700 Subject: Try to discourage the use of APIs via counting. Add the ability to specify maximum function counts for each group to checkAPIs. Add maximum counts for the "termoutput" and "abort" groups where needed. Show summaries in various checkAPI targets. Switch uses of ws_g_warning back to plain g_warning. Change-Id: I5cbddc8c671729e424eed8551f69116d16491976 Reviewed-on: https://code.wireshark.org/review/29721 Petri-Dish: Peter Wu Tested-by: Petri Dish Buildbot Reviewed-by: Peter Wu --- plugins/epan/mate/CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'plugins/epan/mate/CMakeLists.txt') diff --git a/plugins/epan/mate/CMakeLists.txt b/plugins/epan/mate/CMakeLists.txt index dc54bc58d0..1b44176132 100644 --- a/plugins/epan/mate/CMakeLists.txt +++ b/plugins/epan/mate/CMakeLists.txt @@ -61,7 +61,9 @@ CHECKAPI( NAME mate SWITCHES - -g abort -g termoutput -build + --group abort + --group termoutput:1 --summary-group termoutput + --build SOURCES ${DISSECTOR_SRC} ${DISSECTOR_SUPPORT_SRC} -- cgit v1.2.3