mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-27 12:04:27 +01:00
tests: print --dry-run -v newlines nicely
This commit is contained in:
@@ -944,7 +944,8 @@ Valid emulators: {}
|
|||||||
|
|
||||||
def test_teardown(self, run_object):
|
def test_teardown(self, run_object):
|
||||||
if self.env['dry_run']:
|
if self.env['dry_run']:
|
||||||
self.log_info()
|
if not self.env['verbose']:
|
||||||
|
self.log_info()
|
||||||
else:
|
else:
|
||||||
self.log_info(self.seconds_to_hms(run_object.ellapsed_seconds))
|
self.log_info(self.seconds_to_hms(run_object.ellapsed_seconds))
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user