Commit a3499d77 authored by Sebastien Robin's avatar Sebastien Robin

taskdistribution tool, check state of test result before moving to fail

parent fc710aca
...@@ -248,7 +248,8 @@ class TaskDistributionTool(BaseTool): ...@@ -248,7 +248,8 @@ class TaskDistributionTool(BaseTool):
if node.getSimulationState() != 'failed': if node.getSimulationState() != 'failed':
break break
else: else:
test_result.fail() if test_result.getSimulationState() not in ('failed', 'cancelled'):
test_result.fail()
security.declarePublic('reportTaskStatus') security.declarePublic('reportTaskStatus')
def reportTaskStatus(self, test_result_path, status_dict, node_title): def reportTaskStatus(self, test_result_path, status_dict, node_title):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment