mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-26 11:41:35 +01:00
test-gdb and test-userland: fix --dry-run missing seconds
This commit is contained in:
@@ -51,7 +51,7 @@ If given, run only the given tests. Otherwise, run all tests.
|
||||
run_args['background'] = True
|
||||
test_id_string = self.test_setup(run_args, source)
|
||||
exit_status = run(**run_args)
|
||||
self.log_info(self.seconds_to_hms(run.ellapsed_seconds))
|
||||
self.test_teardown(run)
|
||||
if exit_status != 0:
|
||||
self.log_error('test failed, program exit status: {} test id: {}'.format(exit_status, test_id_string))
|
||||
sys.exit(1)
|
||||
|
||||
Reference in New Issue
Block a user