Only notify once that all results are up to date.
Before, this message was repeated once for every worker.
This commit is contained in:
parent
8cb4d08d46
commit
1f7fb7f6e4
1 changed files with 2 additions and 1 deletions
3
vigil
3
vigil
|
|
@ -842,13 +842,14 @@ class Runner:
|
||||||
try:
|
try:
|
||||||
self.result = summary.get_closest_placeholder()
|
self.result = summary.get_closest_placeholder()
|
||||||
except StopIteration:
|
except StopIteration:
|
||||||
log.log_message("All results are up to date.")
|
|
||||||
self.result = None
|
self.result = None
|
||||||
break
|
break
|
||||||
with contextlib.suppress(ValueError): # Process was terminated
|
with contextlib.suppress(ValueError): # Process was terminated
|
||||||
self.result.run(log, appearance_changed_event, self.worker,
|
self.result.run(log, appearance_changed_event, self.worker,
|
||||||
self)
|
self)
|
||||||
summary.completed_total += 1
|
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 and self.result.tool == tools.metadata:
|
if self.is_being_tested and self.result.tool == tools.metadata:
|
||||||
os.kill(os.getpid(), signal.SIGINT)
|
os.kill(os.getpid(), signal.SIGINT)
|
||||||
jobs_added_event.clear()
|
jobs_added_event.clear()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue