cleanup: Use allow/deny lists instead of color based ones

There was nothing racist on those names here (what? Do human races even
exist?!), but let's avoid any confusion.
This commit is contained in:
Marco Trevisan (Treviño)
2024-02-13 15:17:04 +01:00
parent c64fa9c81b
commit 92c5fc4643
6 changed files with 26 additions and 26 deletions

View File

@@ -15,7 +15,7 @@ envs.prepend('LD_LIBRARY_PATH', meson.project_build_root() / 'libfprint')
envs.set('FP_DEVICE_EMULATION', '1')
# Set a colon-separated list of native drivers we enable in tests
envs.set('FP_DRIVERS_WHITELIST', ':'.join([
envs.set('FP_DRIVERS_ALLOWLIST', ':'.join([
'virtual_image',
'virtual_device',
'virtual_device_storage',
@@ -159,7 +159,7 @@ if get_option('introspection')
foreach driver_test: drivers_tests
driver_name = driver_test.split('-')[0]
driver_envs = envs
driver_envs.set('FP_DRIVERS_WHITELIST', driver_name)
driver_envs.set('FP_DRIVERS_ALLOWLIST', driver_name)
if (driver_name in supported_drivers and
gusb_dep.version().version_compare('>= 0.3.0'))