forked from OSchip/llvm-project
[lit] Fix bug where InternalShellError messages were discarded.
- Also, change the exit code to match 'sh'. llvm-svn: 174089
This commit is contained in:
parent
44e65a512d
commit
a17da6294d
|
@ -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