test-gdb and test-userland: print time of each test

This commit is contained in:
Ciro Santilli 六四事件 法轮功
2019-01-22 00:00:00 +00:00
parent 928b01f458
commit c02d52267f
3 changed files with 34 additions and 12 deletions

View File

@@ -52,6 +52,7 @@ If given, run only the given tests. Otherwise, run all tests.
test_id_string = self.test_setup(run_args, source)
run_args['background'] = True
exit_status = run(**run_args)
self.log_info(self.seconds_to_hms(run.ellapsed_seconds))
# TODO forward all args attempt. In particular, --dry-run.
#new_env = self.env.copy()
#new_env['userland'] = source