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

5
tests/driver.test.in Normal file
View File

@@ -0,0 +1,5 @@
[Test]
Type=session
# We can't use TestEnvironment as per
# https://gitlab.gnome.org/GNOME/gnome-desktop-testing/-/issues/1
Exec=env @driver_env@ @installed_tests_execdir@/@umockdev_test_name@ @installed_tests_testdir@/@driver_test@