mirror of
https://gitlab.freedesktop.org/libfprint/libfprint.git
synced 2025-11-15 07:38:12 +00:00
tests: Add basic unit test based on virtual_image device
This commit is contained in:
17
tests/meson.build
Normal file
17
tests/meson.build
Normal file
@@ -0,0 +1,17 @@
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user