projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bd9bb2c
)
[lit] Report the traceback when config import fails.
author
Daniel Dunbar
<daniel@zuster.org>
Wed, 7 Aug 2013 21:43:34 +0000
(21:43 +0000)
committer
Daniel Dunbar
<daniel@zuster.org>
Wed, 7 Aug 2013 21:43:34 +0000
(21:43 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187920
91177308
-0d34-0410-b5e6-
96231b3b80d8
utils/lit/lit/TestingConfig.py
patch
|
blob
|
history
diff --git
a/utils/lit/lit/TestingConfig.py
b/utils/lit/lit/TestingConfig.py
index f4ff89f1cdb4777bd935fb985ee208ea83298298..925099ca5d22c234b0fdd191906a6d710327a027 100644
(file)
--- a/
utils/lit/lit/TestingConfig.py
+++ b/
utils/lit/lit/TestingConfig.py
@@
-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: