summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorDan Liew <dan@su-root.co.uk>2015-11-13 11:38:07 +0000
committerDan Liew <dan@su-root.co.uk>2015-11-13 11:38:07 +0000
commit0d86449557bf91dbc0aee108ba977a2e216aba46 (patch)
tree5e7af4224b26c293eb52c4f5b31d7659c2835a98 /utils
parent74771a338cfb244fbd5e65431863a28b8d2271d2 (diff)
[lit] Improve error message when lit fails to executable a command by
showing the executable it tried to use. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@253032 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils')
-rw-r--r--utils/lit/lit/TestRunner.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/lit/lit/TestRunner.py b/utils/lit/lit/TestRunner.py
index 78a4fa8e65b..19e2514f7c0 100644
--- a/utils/lit/lit/TestRunner.py
+++ b/utils/lit/lit/TestRunner.py
@@ -207,7 +207,7 @@ def executeShCmd(cmd, shenv, results):
env = cmd_shenv.env,
close_fds = kUseCloseFDs))
except OSError as e:
- raise InternalShellError(j, 'Could not create process due to {}'.format(e))
+ raise InternalShellError(j, 'Could not create process ({}) due to {}'.format(executable, e))
# Immediately close stdin for any process taking stdin from us.
if stdin == subprocess.PIPE: