[pypy-svn] r71002 - pypy/trunk/pypy/translator/benchmark
arigo at codespeak.net
arigo at codespeak.net
Sat Jan 30 21:39:56 CET 2010
Author: arigo
Date: Sat Jan 30 21:39:55 2010
New Revision: 71002
Modified:
pypy/trunk/pypy/translator/benchmark/benchmarks.py
Log:
Add a default in case of a -FAILED- result.
Modified: pypy/trunk/pypy/translator/benchmark/benchmarks.py
==============================================================================
--- pypy/trunk/pypy/translator/benchmark/benchmarks.py (original)
+++ pypy/trunk/pypy/translator/benchmark/benchmarks.py Sat Jan 30 21:39:55 2010
@@ -37,6 +37,7 @@
return Benchmark(self._basename, self._run, self.asc_good, self.units,
self.check, self.sizefactor * n)
def run(self, exe):
+ self.latest_output = ''
try:
result, latest_output = self._run(exe, self.sizefactor)
self.latest_output = latest_output
More information about the Pypy-commit
mailing list