mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-25 09:39:25 +01:00
test-runner: stop/warn on processes running after test
This gives the dev some inidication their test did not clean up correctly and running processes remain.
This commit is contained in:
parent
670f063a30
commit
c660feadf1
@ -56,6 +56,10 @@ def exit_vm():
|
|||||||
if config:
|
if config:
|
||||||
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)
|
||||||
|
p.kill()
|
||||||
|
p = None
|
||||||
|
|
||||||
|
config.ctx.processes = []
|
||||||
|
|
||||||
if config.ctx and config.ctx.results:
|
if config.ctx and config.ctx.results:
|
||||||
print_results(config.ctx.results)
|
print_results(config.ctx.results)
|
||||||
|
Loading…
Reference in New Issue
Block a user