[pypy-svn] r66227 - pypy/branch/pyjitpl5/pypy/jit/metainterp/test
arigo at codespeak.net
arigo at codespeak.net
Wed Jul 15 11:39:35 CEST 2009
Author: arigo
Date: Wed Jul 15 11:39:34 2009
New Revision: 66227
Modified:
pypy/branch/pyjitpl5/pypy/jit/metainterp/test/test_send.py
Log:
This test passes nowadays, when written to check the
number of TreeLoops.
Modified: pypy/branch/pyjitpl5/pypy/jit/metainterp/test/test_send.py
==============================================================================
--- pypy/branch/pyjitpl5/pypy/jit/metainterp/test/test_send.py (original)
+++ pypy/branch/pyjitpl5/pypy/jit/metainterp/test/test_send.py Wed Jul 15 11:39:34 2009
@@ -315,7 +315,6 @@
self.check_loop_count(3)
def test_indirect_call_unknown_object_2(self):
- py.test.skip("XXX fix me!!!!!!! problem in optimize.py")
myjitdriver = JitDriver(greens = [], reds = ['x', 'y', 'state'])
def getvalue2():
return 2
@@ -347,7 +346,9 @@
res = self.meta_interp(f, [198],
policy=StopAtXPolicy(State.externfn.im_func))
assert res == f(198)
- self.check_loop_count(3)
+ # we get two TreeLoops: an initial one, and one entering from
+ # the interpreter
+ self.check_tree_loop_count(2)
def test_two_behaviors(self):
py.test.skip("XXX fix me!!!!!!! problem in optimize.py")
More information about the Pypy-commit
mailing list