mirror of
https://github.com/morgan9e/libfprint-fpc1020
synced 2026-04-14 16:34:24 +09: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,
|
depends: udev_hwdb,
|
||||||
env: envs)
|
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)
|
gdb = find_program('gdb', required: false)
|
||||||
if gdb.found() and libfprint_sanitizers.length() == 0
|
if gdb.found() and libfprint_sanitizers.length() == 0
|
||||||
libfprint_wrapper = [
|
libfprint_wrapper = [
|
||||||
|
|||||||
Reference in New Issue
Block a user