mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-22 21:41:38 +00:00
[lit] Report the traceback when config import fails.
llvm-svn: 187920
This commit is contained in:
parent
ffb7ba128b
commit
c0857e132c
@ -74,6 +74,11 @@ class TestingConfig:
|
||||
# return control without error.
|
||||
if e.args:
|
||||
raise
|
||||
except:
|
||||
import traceback
|
||||
litConfig.fatal(
|
||||
'unable to parse config file %r, traceback: %s' % (
|
||||
path, traceback.format_exc()))
|
||||
f.close()
|
||||
else:
|
||||
if mustExist:
|
||||
|
Loading…
x
Reference in New Issue
Block a user