[analyzer] SATestBuild.py: Fix hang when one of the tasks fails
Summary: Tasks can crash with many different exceptions including SystemExit. Bare except still causes a warning, so let's use BaseException instead. Differential Revision: https://reviews.llvm.org/D80443
This commit is contained in:
parent
c479052a74
commit
a5b2503a8a
|
@ -633,7 +633,7 @@ class TestProjectThread(threading.Thread):
|
|||
|
||||
self.tasks_queue.task_done()
|
||||
|
||||
except CalledProcessError:
|
||||
except BaseException:
|
||||
self.failure_flag.set()
|
||||
raise
|
||||
|
||||
|
|
Loading…
Reference in New Issue