[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:
Valeriy Savchenko 2020-05-22 18:47:04 +03:00
parent c479052a74
commit a5b2503a8a
1 changed files with 1 additions and 1 deletions

View File

@ -633,7 +633,7 @@ class TestProjectThread(threading.Thread):
self.tasks_queue.task_done()
except CalledProcessError:
except BaseException:
self.failure_flag.set()
raise