commit b321db20ad77fed1e7e6911305d336087a98a82d
parent 15c04bb39590af1a96be6a62870425a045e509cf
Author: Andrew Zaborowski <andrew.zaborowski@intel.com>
Date: Tue, 29 Sep 2020 18:37:12 +0200
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.
Diffstat:
1 file changed, 6 insertions(+), 0 deletions(-)
diff --git 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