Skip to content
Open
Changes from all commits
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
4 changes: 3 additions & 1 deletion renode_run/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,9 @@ def test_command(args):
env['PATH'] = f'{python_bin}:' + (env['PATH'] or '')

renode_args = list(arg for arg in getattr(args, 'renode_args', []) if arg != '--')
subprocess.run([renode_test] + renode_args, env=env)
result = subprocess.run([renode_test] + renode_args, env=env)
if result.returncode != 0:
raise Exception("There has been an error when running the tests. Check the output above.")


def main():
Expand Down