Author: Hakan Ardo <[email protected]>
Branch: jit-usable_retrace_2
Changeset: r50985:8fc4e9a20794
Date: 2012-01-03 12:13 +0100
http://bitbucket.org/pypy/pypy/changeset/8fc4e9a20794/
Log: fix test
diff --git a/pypy/jit/metainterp/test/test_send.py
b/pypy/jit/metainterp/test/test_send.py
--- a/pypy/jit/metainterp/test/test_send.py
+++ b/pypy/jit/metainterp/test/test_send.py
@@ -445,7 +445,7 @@
myjitdriver = JitDriver(greens = [], reds = ['node'])
def f(n):
node = Node(n)
- while node.x > 0:
+ while node.x > -10:
myjitdriver.can_enter_jit(node=node)
myjitdriver.jit_merge_point(node=node)
if node.x < 40:
@@ -456,7 +456,7 @@
return node.x
res = self.meta_interp(f, [55])
assert res == f(55)
- self.check_trace_count(3)
+ self.check_trace_count(4)
def test_three_classes(self):
class Base:
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit