2
0
mirror of https://gitlab.com/ita1024/waf.git synced 2024-12-24 02:05:12 +01:00

If there is no previous error, and if an exception occurs while in -k, then that error must be displayed

This commit is contained in:
Thomas Nagy 2011-10-04 21:42:32 +02:00
parent c1a0bc1f3b
commit 2baaf78394

View File

@ -317,7 +317,7 @@ class Parallel(object):
tsk.hasrun = Task.SKIPPED
if self.bld.keep == 1:
# if -k stop at the first exception, if -kk try to go as far as possible
if Logs.verbose:
if Logs.verbose or not self.error:
self.error.append(tsk)
self.stop = True
continue