def serial_run_task(self): for tasks_name in self.task_set: for index, task in enumerate(self.task_set[tasks_name]): if task.result[0] == PASS or task.result[0] == UNRESOLVED: continue self.task_set_result[tasks_name][task.result[0]] -= 1 _, task.result = run_commands((tasks_name, index), task.result, task.commands, **task.running_config) status, _ = task.result self.task_set_result[tasks_name][status] += 1
def serial_run_task(self): for tasks_name in self.task_set: for index, task in enumerate(self.task_set[tasks_name]): if task.result[0] == PASS or task.result[0] == UNRESOLVED: continue self.task_set_result[tasks_name][task.result[0]] -= 1 _, task.result = run_commands((tasks_name, index), task.result, task.commands, **task.running_config) if configs.get_val("fail_verbose"): self.output_failed((_, task.result)) status, _ = task.result self.task_set_result[tasks_name][status] += 1