mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-22 06:29:23 +01:00
test-runner: start dmesg process with start_process
This avoids the need to pass in the context explicitly.
This commit is contained in:
parent
25ec652423
commit
a0865c9010
@ -1178,7 +1178,7 @@ def run_auto_tests(ctx, args):
|
|||||||
|
|
||||||
# Write out kernel log
|
# Write out kernel log
|
||||||
if ctx.args.log:
|
if ctx.args.log:
|
||||||
Process(["dmesg"], ctx=ctx, wait=True)
|
ctx.start_process(["dmesg"], wait=True)
|
||||||
|
|
||||||
def run_unit_tests(ctx, args):
|
def run_unit_tests(ctx, args):
|
||||||
os.chdir(args.testhome + '/unit')
|
os.chdir(args.testhome + '/unit')
|
||||||
|
Loading…
Reference in New Issue
Block a user