OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[lit] Report the traceback when config import fails.
[android-x86/external-llvm.git]
/
utils
/
lit
/
lit
/
TestingConfig.py
diff --git
a/utils/lit/lit/TestingConfig.py
b/utils/lit/lit/TestingConfig.py
index
f4ff89f
..
925099c
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: