mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-29 06:30:39 +00:00
[lit] Fix bug where InternalShellError messages were discarded.
- Also, change the exit code to match 'sh'. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174089 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
3ab115ce8f
commit
b62fb4ba5c
@ -256,9 +256,8 @@ def executeScriptInternal(test, litConfig, tmpBase, commands, cwd):
|
||||
try:
|
||||
exitCode = executeShCmd(cmd, test.config, cwd, results)
|
||||
except InternalShellError,e:
|
||||
out = ''
|
||||
err = e.message
|
||||
exitCode = 255
|
||||
exitCode = 127
|
||||
results.append((e.command, '', e.message, exitCode))
|
||||
|
||||
out = err = ''
|
||||
for i,(cmd, cmd_out,cmd_err,res) in enumerate(results):
|
||||
|
Loading…
Reference in New Issue
Block a user