Fixed 'All results up-to-date" not showing when starting with all up-to-date.

This commit is contained in:
Andrew Hamilton 2016-01-30 07:50:04 +00:00
parent 87341762a5
commit d488d2f952
2 changed files with 6 additions and 6 deletions

8
vigil
View file

@ -889,15 +889,15 @@ class Runner:
self.result = summary.get_closest_placeholder()
except StopIteration:
self.result = None
if summary.result_total == summary.completed_total:
log.log_message("All results are up to date.")
if self.is_being_tested:
os.kill(os.getpid(), signal.SIGINT)
break
with contextlib.suppress(ValueError): # Process was terminated
self.result.run(log, appearance_changed_event, self.worker,
self)
summary.completed_total += 1
if summary.result_total == summary.completed_total:
log.log_message("All results are up to date.")
if self.is_being_tested:
os.kill(os.getpid(), signal.SIGINT)
jobs_added_event.clear()
def pause(self):