mirror of
https://gitlab.freedesktop.org/libfprint/libfprint.git
synced 2025-11-15 07:38:12 +00:00
tests: Validate the generated metainfo if appstreamcli is available
This commit is contained in:
committed by
Marco Trevisan
parent
385bc5e384
commit
c6ca915067
@@ -331,6 +331,15 @@ test('udev-hwdb',
|
||||
depends: udev_hwdb,
|
||||
env: envs)
|
||||
|
||||
appstreamcli = find_program('appstreamcli', required: false)
|
||||
if appstreamcli.found()
|
||||
test('metainfo-validate',
|
||||
appstreamcli,
|
||||
args: ['validate', metainfo_generator],
|
||||
depends: metainfo_generator,
|
||||
)
|
||||
endif
|
||||
|
||||
gdb = find_program('gdb', required: false)
|
||||
if gdb.found() and libfprint_sanitizers.length() == 0
|
||||
libfprint_wrapper = [
|
||||
|
||||
Reference in New Issue
Block a user