[pypy-svn] r40118 - pypy/dist/pypy/translator/benchmark
mwh at codespeak.net
mwh at codespeak.net
Fri Mar 9 16:42:54 CET 2007
Author: mwh
Date: Fri Mar 9 16:42:51 2007
New Revision: 40118
Modified:
pypy/dist/pypy/translator/benchmark/benchmarks.py
Log:
don't crash when the benchmark fails...
Modified: pypy/dist/pypy/translator/benchmark/benchmarks.py
==============================================================================
--- pypy/dist/pypy/translator/benchmark/benchmarks.py (original)
+++ pypy/dist/pypy/translator/benchmark/benchmarks.py Fri Mar 9 16:42:51 2007
@@ -109,7 +109,7 @@
try:
result = float([line for line in txt.split('\n') if line.strip()][-1])
except ValueError:
- raise IOError(txt)
+ raise BenchmarkFailed
return result
def check_templess():
More information about the Pypy-commit
mailing list