projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3ab115c
)
[lit] Fix bug where InternalShellError messages were discarded.
author
Daniel Dunbar
<daniel@zuster.org>
Thu, 31 Jan 2013 20:58:16 +0000
(20:58 +0000)
committer
Daniel Dunbar
<daniel@zuster.org>
Thu, 31 Jan 2013 20:58:16 +0000
(20:58 +0000)
- 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
utils/lit/lit/TestRunner.py
patch
|
blob
|
history
diff --git
a/utils/lit/lit/TestRunner.py
b/utils/lit/lit/TestRunner.py
index 9bd3e430a1333a2d05590b55114f9079328426f4..3d0ff546dfbc14f4eabbbe11699068ba72c873ea 100644
(file)
--- a/
utils/lit/lit/TestRunner.py
+++ b/
utils/lit/lit/TestRunner.py
@@
-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):