3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-12-22 04:32:37 +01:00

test-runner: Add flags for DHCP and TLS verbose output

Add "iwd-tls" and "iwd-dhcp" flags for -v.  These should automatically
enable "-v iwd" output because of the substring matching.
This commit is contained in:
Andrew Zaborowski 2020-09-29 18:37:12 +02:00 committed by Denis Kenzior
parent 15c04bb395
commit b321db20ad

View File

@ -573,6 +573,12 @@ class TestContext:
env['CONFIGURATION_DIRECTORY'] = config_dir
env['STATE_DIRECTORY'] = '/var/lib/iwd'
if self.is_verbose('iwd-dhcp'):
env['IWD_DHCP_DEBUG'] = '1'
if self.is_verbose('iwd-tls'):
env['IWD_TLS_DEBUG'] = '1'
pid = self.start_process(args, env=env)
return pid