[pypy-svn] r62823 - pypy/branch/speedup-globals/pypy/translator/benchmark

cfbolz at codespeak.net cfbolz at codespeak.net
Tue Mar 10 17:57:57 CET 2009


Author: cfbolz
Date: Tue Mar 10 17:57:56 2009
New Revision: 62823

Modified:
   pypy/branch/speedup-globals/pypy/translator/benchmark/benchmarks.py
Log:
fix gadfly


Modified: pypy/branch/speedup-globals/pypy/translator/benchmark/benchmarks.py
==============================================================================
--- pypy/branch/speedup-globals/pypy/translator/benchmark/benchmarks.py	(original)
+++ pypy/branch/speedup-globals/pypy/translator/benchmark/benchmarks.py	Tue Mar 10 17:57:56 2009
@@ -149,6 +149,8 @@
     command = 'PYTHONPATH="%s" "%s" "%s"' % (gadfly, executable, testscript)
     txt = run_cmd(command)
     lines = [line for line in txt.split('\n') if line.strip()]
+    if "NOTE" in lines[-1]:
+        del lines[-1]
     if lines[-1].strip() != 'OK':
         raise BenchmarkFailed
     lastword = lines[-2].split()[-1]



More information about the Pypy-commit mailing list