[pypy-svn] r70498 - pypy/trunk/pypy/translator/benchmark

fijal at codespeak.net fijal at codespeak.net
Mon Jan 11 14:46:44 CET 2010


Author: fijal
Date: Mon Jan 11 14:46:44 2010
New Revision: 70498

Modified:
   pypy/trunk/pypy/translator/benchmark/benchmarks.py
Log:
improve test


Modified: pypy/trunk/pypy/translator/benchmark/benchmarks.py
==============================================================================
--- pypy/trunk/pypy/translator/benchmark/benchmarks.py	(original)
+++ pypy/trunk/pypy/translator/benchmark/benchmarks.py	Mon Jan 11 14:46:44 2010
@@ -152,7 +152,8 @@
                            self.check, sizefactor)
 
     def __mul__(self, i):
-        return LanguageShootoutBenchmark(self.name, self.sizefactor * i)
+        return LanguageShootoutBenchmark(self.name, self.sizefactor * i,
+                                         self.test)
 
     def runner(self, executable, sizefactor=1):
         shootout = py.path.local(__file__).dirpath().join(



More information about the Pypy-commit mailing list