mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2025-02-16 15:20:42 +01:00
test-runner: print results even if test run is canceled
This commit is contained in:
parent
5b94c9d243
commit
561c64e7f8
@ -58,6 +58,9 @@ def exit_vm():
|
|||||||
for p in config.ctx.processes:
|
for p in config.ctx.processes:
|
||||||
print("Process %s still running!" % p.name)
|
print("Process %s still running!" % p.name)
|
||||||
|
|
||||||
|
if config.ctx and config.ctx.results:
|
||||||
|
print_results(config.ctx.results)
|
||||||
|
|
||||||
os.sync()
|
os.sync()
|
||||||
|
|
||||||
RB_AUTOBOOT = 0x01234567
|
RB_AUTOBOOT = 0x01234567
|
||||||
@ -985,8 +988,6 @@ def run_auto_tests(ctx, args):
|
|||||||
if ctx.args.log:
|
if ctx.args.log:
|
||||||
Process(["dmesg"], ctx=ctx, wait=True)
|
Process(["dmesg"], ctx=ctx, wait=True)
|
||||||
|
|
||||||
print_results(ctx.results)
|
|
||||||
|
|
||||||
def run_unit_tests(ctx, args):
|
def run_unit_tests(ctx, args):
|
||||||
os.chdir(args.testhome + '/unit')
|
os.chdir(args.testhome + '/unit')
|
||||||
units = build_unit_list(args)
|
units = build_unit_list(args)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user