Skip to content

Commit

Permalink
Don't continue with testing if an extension crashes
Browse files Browse the repository at this point in the history
  • Loading branch information
rotu committed Mar 25, 2020
1 parent af7fa08 commit f2b3a34
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions colcon_core/task/python/test/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ def add_arguments(self, *, parser): # noqa: D102
add_python_testing_step_arguments(parser)

async def test(self, *, additional_hooks=None): # noqa: D102
pkg = self.context.pkg
args = self.context.args

logger.info(
Expand Down Expand Up @@ -59,8 +58,7 @@ async def test(self, *, additional_hooks=None): # noqa: D102
'Exception in Python testing step extension '
"'{extension.STEP_TYPE}': {e}\n{exc}"
.format_map(locals()))
# skip failing extension, continue with next one
continue
return 1
if matched:
break
else:
Expand Down

0 comments on commit f2b3a34

Please sign in to comment.