Skip to content

Commit 1e4a383

Browse files
authored
Ensure tests failure causes exit 1 (#285)
I really have no idea why I thought it would be a good idea to `pass` here.
1 parent 21a0224 commit 1e4a383

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

test/tools/test/runner.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,7 @@ def run_tests(self):
3535
if self.testCfg['skip_delete']:
3636
cmd.append('-skip.teardown')
3737
cmd.append('-skip.delete')
38-
try:
39-
self.welder.run_ssh_command(cmd, "/root/work/flintlock", False)
40-
except RuntimeError as e:
41-
print(str(e))
42-
pass
38+
self.welder.run_ssh_command(cmd, "/root/work/flintlock", False)
4339

4440
def teardown(self):
4541
if self.skip_teardown:

0 commit comments

Comments
 (0)