mirror of
https://gitlab.freedesktop.org/libfprint/libfprint.git
synced 2026-06-11 02:28:05 +00:00
tests: Add tests to ensure that we don't duplicate symbols in libraries
We have an issue where some symbols are exposed by both the tod library and the public one, and this may lead to big issues like GType's being defined multiple times. So add a test checking whether this is working See: 3v1n0/libfprint#1
This commit is contained in:
@@ -392,4 +392,15 @@ if get_option('tod')
|
||||
)
|
||||
endif
|
||||
endforeach
|
||||
|
||||
if find_program('objdump', required: false).found()
|
||||
check_libs_symbols = find_program(meson.source_root() /
|
||||
'libfprint/tod/tests/check-library-symbols.sh')
|
||||
test('check-tod-lib-sybmbols',
|
||||
check_libs_symbols,
|
||||
args: [libfprint.full_path(), libfprint_tod.full_path()],
|
||||
depends: [libfprint, libfprint_tod],
|
||||
suite: ['abi-check', tod_suites ],
|
||||
)
|
||||
endif
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user