[llvm] r174071 - [lit] TestRunner: Eliminate failDueToStderr argument, which is now unused.
Daniel Dunbar
daniel at zuster.org
Thu Jan 31 10:04:46 PST 2013
Author: ddunbar
Date: Thu Jan 31 12:04:45 2013
New Revision: 174071
URL: http://llvm.org/viewvc/llvm-project?rev=174071&view=rev
Log:
[lit] TestRunner: Eliminate failDueToStderr argument, which is now unused.
Modified:
llvm/trunk/utils/lit/lit/TestRunner.py
Modified: llvm/trunk/utils/lit/lit/TestRunner.py
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/lit/lit/TestRunner.py?rev=174071&r1=174070&r2=174071&view=diff
==============================================================================
--- llvm/trunk/utils/lit/lit/TestRunner.py (original)
+++ llvm/trunk/utils/lit/lit/TestRunner.py Thu Jan 31 12:04:45 2013
@@ -428,17 +428,14 @@ def parseIntegratedTestScript(test, norm
isXFail = isExpectedFail(test, xfails)
return script,isXFail,tmpBase,execdir
-def formatTestOutput(status, out, err, exitCode, failDueToStderr, script):
+def formatTestOutput(status, out, err, exitCode, script):
output = StringIO.StringIO()
print >>output, "Script:"
print >>output, "--"
print >>output, '\n'.join(script)
print >>output, "--"
print >>output, "Exit Code: %r" % exitCode,
- if failDueToStderr:
- print >>output, "(but there was output on stderr)"
- else:
- print >>output
+ print >>output
if out:
print >>output, "Command Output (stdout):"
print >>output, "--"
@@ -492,7 +489,4 @@ def executeShTest(test, litConfig, useEx
if ok:
return (status,'')
- # Sh tests are not considered to fail just from stderr output.
- failDueToStderr = False
-
- return formatTestOutput(status, out, err, exitCode, failDueToStderr, script)
+ return formatTestOutput(status, out, err, exitCode, script)
More information about the llvm-commits
mailing list