mirror of
https://gitlab.freedesktop.org/libfprint/libfprint.git
synced 2025-11-15 07:38:12 +00:00
Initially only the vfs5011 driver is tested. Please note that these tests will be unreliable before umockdev 0.13.2. See also https://github.com/martinpitt/umockdev/pull/92
26 lines
687 B
Meson
26 lines
687 B
Meson
envs = environment()
|
|
envs.set('G_DEBUG', 'fatal-warnings')
|
|
envs.set('G_MESSAGES_DEBUG', 'all')
|
|
envs.set('MESON_SOURCE_ROOT', meson.build_root())
|
|
envs.prepend('GI_TYPELIB_PATH', join_paths(meson.build_root(), 'libfprint'))
|
|
envs.prepend('LD_LIBRARY_PATH', join_paths(meson.build_root(), 'libfprint'))
|
|
envs.set('NO_AT_BRIDGE', '1')
|
|
|
|
if 'virtual_image' in drivers
|
|
test(
|
|
'virtual-image',
|
|
find_program('virtual-image.py'),
|
|
args: '--verbose',
|
|
env: envs,
|
|
)
|
|
endif
|
|
|
|
if 'vfs5011' in drivers
|
|
test(
|
|
'vfs5011',
|
|
find_program('umockdev-test.py'),
|
|
args: join_paths(meson.current_source_dir(), 'vfs5011'),
|
|
env: envs,
|
|
)
|
|
endif
|