tests: Simplify capture of driver behaviour for regression tests

And update instructions for the simpler method.

Co-authored-by: Benjamin Berg <bberg@redhat.com>
This commit is contained in:
Bastien Nocera
2021-09-03 18:20:03 +02:00
committed by Benjamin Berg
parent e2511095d1
commit aff063c23c
3 changed files with 184 additions and 47 deletions

View File

@@ -41,6 +41,15 @@ drivers_tests = [
'egis0570',
]
if get_option('introspection')
conf = configuration_data()
conf.set('SRCDIR', meson.project_source_root())
conf.set('BUILDDIR', meson.project_build_root())
configure_file(configuration: conf,
input: 'create-driver-test.py.in',
output: 'create-driver-test.py')
endif
if get_option('introspection')
envs.prepend('GI_TYPELIB_PATH', join_paths(meson.build_root(), 'libfprint'))
virtual_devices_tests = [