tests: Only run tests when introspection bindings are build

The tests cannot work without the introspection bindings. So put them
into a corresponding if branch and also add the correct dependency on
libfprint_typelib for them to be run.
This commit is contained in:
Benjamin Berg
2019-11-18 21:17:43 +01:00
parent 951d482bc6
commit 9b37256175
2 changed files with 32 additions and 27 deletions

View File

@@ -6,7 +6,7 @@ project('libfprint', [ 'c', 'cpp' ],
'warning_level=1',
'c_std=c99',
],
meson_version: '>= 0.45.0')
meson_version: '>= 0.46.0')
gnome = import('gnome')