tests: Add support for installed tests

They allow distrubtions to check whether libfprint continues working as
expected, in different contexts.
This commit is contained in:
Marco Trevisan (Treviño)
2023-06-23 13:44:59 -04:00
parent 3d4cf44f9b
commit ba3cc04e84
6 changed files with 126 additions and 4 deletions

View File

@@ -21,3 +21,8 @@ executable('cpp-test',
'cpp-test.cpp',
dependencies: libfprint_dep,
)
if installed_tests
install_subdir('prints',
install_dir: installed_tests_testdir)
endif