mirror of
https://gitlab.freedesktop.org/libfprint/libfprint.git
synced 2025-11-15 07:38:12 +00:00
sdcp-v2: Move SDCP support from using NSS to OpenSSL 3.0 and implement for egismoc
This commit is contained in:
@@ -14,9 +14,6 @@ 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',
|
||||
@@ -55,9 +52,9 @@ drivers_tests = [
|
||||
'nb1010',
|
||||
'egis0570',
|
||||
'egismoc',
|
||||
'egismoc-05a1',
|
||||
'egismoc-0586',
|
||||
'egismoc-0587',
|
||||
# 'egismoc-05a1', # commented out until new capture with SDCP support can be provided
|
||||
# 'egismoc-0586', # commented out until new capture with SDCP support can be provided
|
||||
# 'egismoc-0587', # commented out until new capture with SDCP support can be provided
|
||||
'fpcmoc',
|
||||
'realtek',
|
||||
'realtek-5816',
|
||||
@@ -249,13 +246,10 @@ else
|
||||
endforeach
|
||||
endif
|
||||
|
||||
test_utils = static_library('fprint-test-utils',
|
||||
sources: [
|
||||
'test-utils.c',
|
||||
'test-device-fake.c',
|
||||
],
|
||||
dependencies: libfprint_private_dep,
|
||||
install: false)
|
||||
test_util_sources = [
|
||||
'test-utils.c',
|
||||
'test-device-fake.c',
|
||||
]
|
||||
|
||||
unit_tests = [
|
||||
'fpi-device',
|
||||
@@ -270,6 +264,22 @@ if 'virtual_image' in drivers
|
||||
]
|
||||
endif
|
||||
|
||||
if 'sdcp' in driver_helpers
|
||||
test_util_sources += [
|
||||
'test-sdcp-device-fake.c',
|
||||
'test-sdcp-utils.c',
|
||||
]
|
||||
unit_tests += [
|
||||
'fp-sdcp-device',
|
||||
'fpi-sdcp',
|
||||
]
|
||||
endif
|
||||
|
||||
test_utils = static_library('fprint-test-utils',
|
||||
sources: test_util_sources,
|
||||
dependencies: libfprint_private_dep,
|
||||
install: false)
|
||||
|
||||
unit_tests_deps = { 'fpi-assembling' : [cairo_dep] }
|
||||
|
||||
foreach test_name: unit_tests
|
||||
|
||||
Reference in New Issue
Block a user