From c660feadf1056d4aef8e5e56ca2a4848984d3bc9 Mon Sep 17 00:00:00 2001 From: James Prestwood Date: Thu, 25 Feb 2021 14:01:06 -0800 Subject: [PATCH] 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. --- tools/test-runner | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tools/test-runner b/tools/test-runner index 7c1498d0..eab0f0ab 100755 --- a/tools/test-runner +++ b/tools/test-runner @@ -56,6 +56,10 @@ def exit_vm(): if config: for p in config.ctx.processes: print("Process %s still running!" % p.name) + p.kill() + p = None + + config.ctx.processes = [] if config.ctx and config.ctx.results: print_results(config.ctx.results)