Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions mobly/test_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,10 @@ def main(argv=None):
runner.run()
ok = runner.results.is_all_pass and ok
except signals.TestAbortAll:
pass
ok = False
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

let's stay consistent with the next block in terms of the order between the two lines

logging.error('Test run aborted by TestAbortAll.')
except Exception:
logging.exception('Exception when executing %s.', config.testbed_name)
logging.exception('Exception when executing %s.', config.test_bed_name)
ok = False
if not ok:
sys.exit(1)
Expand Down
Loading