sanitycheck: exit thread executor on exceptions
When something goes wrong, exit thread execution pool and report and error. Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
89c83044c8
commit
4f04386e61
1 changed files with 2 additions and 1 deletions
|
@ -2760,7 +2760,8 @@ class TestSuite:
|
|||
try:
|
||||
data = future.result()
|
||||
except Exception as exc:
|
||||
print('%r generated an exception: %s' % (test, exc))
|
||||
sys.exit('%r generated an exception: %s' % (test, exc))
|
||||
|
||||
else:
|
||||
if data:
|
||||
verbose(data)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue