aboutsummaryrefslogtreecommitdiffstats
path: root/wiretap
diff options
context:
space:
mode:
authorBalint Reczey <balint@balintreczey.hu>2016-10-18 21:00:56 +0200
committerAnders Broman <a.broman58@gmail.com>2016-10-20 05:06:57 +0000
commitf0cb70bd18171a8102f4a6baefb385a1dcd2d960 (patch)
tree5518845a81f5cf62a0020e24fd085f4744d01a48 /wiretap
parent9c3d81adde2d901a18fb0dc5a5dc2220f76cd920 (diff)
Exclude scanner-generated headers from ABI check
They break the check by not including header files for custom types and they are not part of the API anyway. Bug: 13018 Change-Id: Ia0f81f861251b5659af723b9da795daeb7454eb3 Reviewed-on: https://code.wireshark.org/review/18297 Reviewed-by: Balint Reczey <balint@balintreczey.hu> Petri-Dish: Balint Reczey <balint@balintreczey.hu> Petri-Dish: Guy Harris <guy@alum.mit.edu> Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'wiretap')
-rw-r--r--wiretap/Makefile.am4
1 files changed, 4 insertions, 0 deletions
diff --git a/wiretap/Makefile.am b/wiretap/Makefile.am
index 4cacb0a501..5e20f351e5 100644
--- a/wiretap/Makefile.am
+++ b/wiretap/Makefile.am
@@ -243,10 +243,14 @@ ws_version_info.c: $(top_srcdir)/ws_version_info.c
# ABI compliance checker can be obtained from
# http://ispras.linux-foundation.org/index.php/ABI_compliance_checker
# Checked using version 1.21.12
+#
+# (f)lex generated headers are not part of API and may not include
+# all needed headers for used types
dumpabi-libwiretap: all abi-descriptor.xml
rm -rf abi-check-headers abi_dumps .libs/*.abi.tar.gz
mkdir abi-check-headers
cp *.h ../ws_symbol_export.h abi-check-headers/
+ rm abi-check-headers/*_lex.h abi-check-headers/ascend.h
abi-compliance-checker -log-path abi_logs/log.txt -l libwiretap -v1 `readlink .libs/libwiretap.so | sed 's/.*\.so\.//'` \
-relpath $(abs_srcdir) -dump-abi abi-descriptor.xml || \
cat abi_logs/log.txt