[pypy-svn] r39739 - pypy/dist/pypy/translator/benchmark

mwh at codespeak.net mwh at codespeak.net
Fri Mar 2 18:37:18 CET 2007


Author: mwh
Date: Fri Mar  2 18:37:16 2007
New Revision: 39739

Modified:
   pypy/dist/pypy/translator/benchmark/benchmarks.py
Log:
new way of failing


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  2 18:37:16 2007
@@ -38,7 +38,7 @@
     r = pipe.read()
     status = pipe.close()
     if status:
-        print "warning: %r had exit status %s"%(cmd, status)
+        raise BenchmarkFailed(status)
     return r
 
 def run_pystone(executable='/usr/local/bin/python', n=''):



More information about the Pypy-commit mailing list