From b321db20ad77fed1e7e6911305d336087a98a82d Mon Sep 17 00:00:00 2001 From: Andrew Zaborowski Date: Tue, 29 Sep 2020 18:37:12 +0200 Subject: [PATCH] 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. --- tools/test-runner | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tools/test-runner b/tools/test-runner index fa23a631..c2559dd1 100755 --- a/tools/test-runner +++ b/tools/test-runner @@ -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