commit 69a5ccbe5cba4293e493c8ce11ac9afd503e9c10
parent 3348f20696557b5e7f1e0e7631ccfad32edf7803
Author: James Prestwood <prestwoj@gmail.com>
Date: Fri, 25 Feb 2022 09:58:10 -0800
test-runner: start iwmon first
This aids in debugging if iwd/hostapd/etc fail to start correctly.
Diffstat:
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/tools/test-runner b/tools/test-runner
@@ -1327,6 +1327,11 @@ def pre_test(ctx, test, copied):
subtests = pruned
+ if ctx.args.log:
+ ctx.start_process(['iwmon', '--nowiphy'])
+ elif ctx.args.monitor:
+ ctx.start_process(['iwmon'], outfile=ctx.args.monitor)
+
ctx.start_dbus()
ctx.start_haveged()
ctx.start_dbus_monitor()
@@ -1336,11 +1341,6 @@ def pre_test(ctx, test, copied):
ctx.start_wpas_interfaces()
ctx.start_ofono()
- if ctx.args.log:
- ctx.start_process(['iwmon', '--nowiphy'])
- elif ctx.args.monitor:
- ctx.start_process(['iwmon', '--nowiphy'], outfile=ctx.args.monitor)
-
if ctx.hw_config.has_option('SETUP', 'start_iwd'):
start = ctx.hw_config.getboolean('SETUP', 'start_iwd')
else: