From f0cb70bd18171a8102f4a6baefb385a1dcd2d960 Mon Sep 17 00:00:00 2001 From: Balint Reczey Date: Tue, 18 Oct 2016 21:00:56 +0200 Subject: 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 Petri-Dish: Balint Reczey Petri-Dish: Guy Harris Reviewed-by: Anders Broman --- wiretap/Makefile.am | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'wiretap/Makefile.am') 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 -- cgit v1.2.1