tests: Simplify capture of driver behaviour for regression tests

And update instructions for the simpler method.
This commit is contained in:
Bastien Nocera
2021-09-03 18:20:03 +02:00
parent 8f93aef122
commit 0dcb4be4d3
3 changed files with 149 additions and 47 deletions

View File

@@ -37,6 +37,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 = [