mirror of
https://gitlab.com/cryptsetup/cryptsetup.git
synced 2025-12-05 16:00:05 +01:00
tests: run systemd tests using meson only when requested
This commit is contained in:
@@ -52,6 +52,7 @@ option('passwdqc', type : 'string', description : 'enable password quality check
|
||||
option('pwquality', type : 'boolean', description : 'password quality checking using pwquality library', value : false)
|
||||
option('ssh-token', type : 'boolean', description : 'LUKS2 ssh-token', value : true)
|
||||
option('static-cryptsetup', type : 'boolean', description : 'enable build of static version of tools', value : false)
|
||||
option('systemd-tokens-test', type : 'boolean', description : 'compile systemd tokens and test using them from cryptsetup', value : false)
|
||||
option('tmpfilesdir', type : 'string', description : 'override default path to directory with systemd temporary files')
|
||||
option('udev', type : 'boolean', description : 'udev support', value : true)
|
||||
option('veritysetup', type : 'boolean', description : 'veritysetup support', value : true)
|
||||
|
||||
@@ -471,7 +471,7 @@ if get_option('ssh-token') and not enable_static
|
||||
])
|
||||
endif
|
||||
|
||||
if get_option('external-tokens') and not enable_static
|
||||
if get_option('external-tokens') and get_option('systemd-tokens-test') and not enable_static
|
||||
test('systemd-test-plugin',
|
||||
find_program('systemd-test-plugin'),
|
||||
workdir: meson.current_build_dir(),
|
||||
|
||||
Reference in New Issue
Block a user