Skip to content

Commit

Permalink
Ensure tests failure causes exit 1 (#285)
Browse files Browse the repository at this point in the history
I really have no idea why I thought it would be a good idea to `pass`
here.
  • Loading branch information
Callisto13 authored Nov 26, 2021
1 parent 21a0224 commit 1e4a383
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions test/tools/test/runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,7 @@ def run_tests(self):
if self.testCfg['skip_delete']:
cmd.append('-skip.teardown')
cmd.append('-skip.delete')
try:
self.welder.run_ssh_command(cmd, "/root/work/flintlock", False)
except RuntimeError as e:
print(str(e))
pass
self.welder.run_ssh_command(cmd, "/root/work/flintlock", False)

def teardown(self):
if self.skip_teardown:
Expand Down

0 comments on commit 1e4a383

Please sign in to comment.