mirror of
https://github.com/intel/llvm.git
synced 2026-01-25 01:07:04 +08:00
[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:
@@ -633,7 +633,7 @@ class TestProjectThread(threading.Thread):
|
||||
|
||||
self.tasks_queue.task_done()
|
||||
|
||||
except CalledProcessError:
|
||||
except BaseException:
|
||||
self.failure_flag.set()
|
||||
raise
|
||||
|
||||
|
||||
Reference in New Issue
Block a user