+ # Let the failed() callback function arrange for the
+ # build to stop if that's appropriate.
+ # Let the failed() callback function arrange for
+ # calling self.jobs.stop() to to stop the build
+ # if that's appropriate.
- # stop all jobs since there was a failure:
- # (this will wake up any waiting jobs, so
- # it isn't necessary to explicitly wake them
"""n is the number of dummy tasks to perform."""
self.test_case = test_case
- if self.all_tasks_are_iterated():
+ if self.all_tasks_are_iterated():
self.num_iterated = self.num_iterated + 1
self.num_failed = self.num_failed + 1
# simulate blocking tasks