Catch the Python exception when subprocess.Popen is failing.
authorSylvestre Ledru <sylvestre@debian.org>
Fri, 13 Apr 2012 11:22:18 +0000 (11:22 +0000)
committerSylvestre Ledru <sylvestre@debian.org>
Fri, 13 Apr 2012 11:22:18 +0000 (11:22 +0000)
commite92077f11e2ca85d98fe41cf3aba2cb813e57c9a
tree8928c384a48870a78501aef8342c2190a31a9220
parent8fc7d5c35cc79f941d2eb8e992133f94f375670a
Catch the Python exception when subprocess.Popen is failing.

For example, if llc cannot be found, the full python stacktrace is displayed
and no interesting information are provided.
+ fail the process when an exception occurs

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@154665 91177308-0d34-0410-b5e6-96231b3b80d8
test/lit.cfg