[pypy-commit] pypy jitcounter-on-function: fix the test

fijal noreply at buildbot.pypy.org
Thu Jun 16 13:13:14 CEST 2011


Author: Maciej Fijalkowski <fijall at gmail.com>
Branch: jitcounter-on-function
Changeset: r44968:c981888dc240
Date: 2011-06-16 13:16 +0200
http://bitbucket.org/pypy/pypy/changeset/c981888dc240/

Log:	fix the test

diff --git a/pypy/jit/metainterp/test/test_jitdriver.py b/pypy/jit/metainterp/test/test_jitdriver.py
--- a/pypy/jit/metainterp/test/test_jitdriver.py
+++ b/pypy/jit/metainterp/test/test_jitdriver.py
@@ -113,6 +113,7 @@
             return n
         #
         def loop2(g, r):
+            myjitdriver1.set_param('function_threshold', 0)
             while r > 0:
                 myjitdriver2.can_enter_jit(g=g, r=r)
                 myjitdriver2.jit_merge_point(g=g, r=r)


More information about the pypy-commit mailing list