commit a0865c9010b5ec3598737422c828817d4f7784bc
parent 25ec6524232a7cb045716c1be050daa2affafc26
Author: James Prestwood <prestwoj@gmail.com>
Date: Thu, 18 Feb 2021 12:19:27 -0800
test-runner: start dmesg process with start_process
This avoids the need to pass in the context explicitly.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/test-runner b/tools/test-runner
@@ -1178,7 +1178,7 @@ def run_auto_tests(ctx, args):
# Write out kernel log
if ctx.args.log:
- Process(["dmesg"], ctx=ctx, wait=True)
+ ctx.start_process(["dmesg"], wait=True)
def run_unit_tests(ctx, args):
os.chdir(args.testhome + '/unit')