diff options
| author | Dan Liew <dan@su-root.co.uk> | 2015-11-13 11:38:07 +0000 |
|---|---|---|
| committer | Dan Liew <dan@su-root.co.uk> | 2015-11-13 11:38:07 +0000 |
| commit | 4eb369fd4389b6ddb32b5badd480eabc9cea3dc0 (patch) | |
| tree | fd2df5f25327b89ece6401bbf6ba64f79563262e /llvm/utils | |
| parent | 82bd29b13c3c2cec45c40cea63a264ab73ecc5a3 (diff) | |
| download | bcm5719-llvm-4eb369fd4389b6ddb32b5badd480eabc9cea3dc0.tar.gz bcm5719-llvm-4eb369fd4389b6ddb32b5badd480eabc9cea3dc0.zip | |
[lit] Improve error message when lit fails to executable a command by
showing the executable it tried to use.
llvm-svn: 253032
Diffstat (limited to 'llvm/utils')
| -rw-r--r-- | llvm/utils/lit/lit/TestRunner.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/utils/lit/lit/TestRunner.py b/llvm/utils/lit/lit/TestRunner.py index 78a4fa8e65b..19e2514f7c0 100644 --- a/llvm/utils/lit/lit/TestRunner.py +++ b/llvm/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: |

