fprintd/tests
Marco Trevisan (Treviño) 4f3589c0dc build: List single unit python tests allowing to run them separately
We run a certain number of tests right now, without being able to easily
run them separated or to check which one failed.

So add a script to inspect all the available unittests per each python
script and use it to figure out the tests we can run in meson.

As per this, define a global 'python_tests' variable in meson that allows
to register new python tests easily without having to repeat the settings
for all the tests.

For each test we have, we check if we can fetch a list of unit tests, and
if possible we create a meson test for each one.
Otherwise we just fallback to normal behavior.

This is something that can be hopefully implemented into upstream meson [1].

[1] https://github.com/mesonbuild/meson/issues/6851
2020-03-27 02:29:57 +01:00
..
dbusmock tests: Fix num-enroll-stages signature in dbusmock template 2020-02-04 15:38:17 +01:00
pam build: List single unit python tests allowing to run them separately 2020-03-27 02:29:57 +01:00
prints tests: Add test prints from libfprint 2019-12-03 17:08:03 +01:00
fprintd.py tests/fprintd: Add missing implementation of list_tests 2020-03-27 02:01:14 +01:00
meson.build build: List single unit python tests allowing to run them separately 2020-03-27 02:29:57 +01:00
test_fprintd_utils.py test_fprintd_utils: Don't use hard-coded sleep time 2020-03-17 17:14:35 +01:00
unittest_inspector.py tests: Add a tool to inspect the single python unit tests 2020-03-27 01:57:22 +01:00