Author: Hakan Ardo <ha...@debian.org>
Branch: jit-targets
Changeset: r48946:b449ace83c77
Date: 2011-11-08 15:25 +0100
http://bitbucket.org/pypy/pypy/changeset/b449ace83c77/

Log:    fix tests

diff --git a/pypy/jit/metainterp/test/test_ajit.py 
b/pypy/jit/metainterp/test/test_ajit.py
--- a/pypy/jit/metainterp/test/test_ajit.py
+++ b/pypy/jit/metainterp/test/test_ajit.py
@@ -3149,7 +3149,7 @@
             return sa
         res = self.meta_interp(f, [32])
         assert res == f(32)
-        self.check_jitcell_token_count(3)
+        self.check_trace_count(2)
 
     def test_two_loopinvariant_arrays2(self):
         from pypy.rpython.lltypesystem import lltype, llmemory, rffi
@@ -3172,7 +3172,7 @@
             return sa
         res = self.meta_interp(f, [32])
         assert res == f(32)
-        self.check_jitcell_token_count(3)
+        self.check_trace_count(2)
 
     def test_two_loopinvariant_arrays3(self):
         from pypy.rpython.lltypesystem import lltype, llmemory, rffi
@@ -3196,7 +3196,7 @@
             return sa
         res = self.meta_interp(f, [32])
         assert res == f(32)
-        self.check_jitcell_token_count(2)
+        self.check_trace_count(3)
 
     def test_two_loopinvariant_arrays_boxed(self):
         class A(object):
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to