[pypy-commit] pypy default: Trying to output the stdout/stderr but only in failure cases
arigo
noreply at buildbot.pypy.org
Thu Sep 4 10:34:21 CEST 2014
Author: Armin Rigo <arigo at tunes.org>
Branch:
Changeset: r73295:59dec5f6241b
Date: 2014-09-04 10:33 +0200
http://bitbucket.org/pypy/pypy/changeset/59dec5f6241b/
Log: Trying to output the stdout/stderr but only in failure cases
diff --git a/_pytest/resultlog.py b/_pytest/resultlog.py
--- a/_pytest/resultlog.py
+++ b/_pytest/resultlog.py
@@ -57,7 +57,8 @@
_safeprint("%s %s" % (lettercode, testpath), file=self.logfile)
for line in longrepr.splitlines():
_safeprint(" %s" % line, file=self.logfile)
- if 0 and sections is not None: # XXX XXX USES TOO MUCH MEMORY??
+ if sections is not None and (
+ lettercode in ('E', 'F')): # to limit the size of logs
for title, content in sections:
_safeprint(" ---------- %s ----------" % (title,),
file=self.logfile)
More information about the pypy-commit
mailing list