tests: Add SDCP virtual device test

This commit is contained in:
Benjamin Berg
2020-09-29 12:38:29 +02:00
committed by Joshua Grisham
parent e3fab01e38
commit 4e811f7b63
2 changed files with 147 additions and 0 deletions

View File

@@ -14,6 +14,9 @@ envs.prepend('LD_LIBRARY_PATH', meson.project_build_root() / 'libfprint')
# random numbers rather than proper ones)
envs.set('FP_DEVICE_EMULATION', '1')
# Path to SDCP virtual device binary, only used for virtual-sdcp test
envs.set('SDCP_VIRT_BINARY', get_option('sdcp_virt_binary'))
# Set a colon-separated list of native drivers we enable in tests
envs.set('FP_DRIVERS_ALLOWLIST', ':'.join([
'virtual_image',