[pypy-commit] pypy default: retrace counter is now only increased when we actually do a retrace, unskip test

hakanardo noreply at buildbot.pypy.org
Thu Aug 18 14:39:47 CEST 2011


Author: Hakan Ardo <hakan at debian.org>
Branch: 
Changeset: r46603:999de5e719bd
Date: 2011-08-18 14:36 +0200
http://bitbucket.org/pypy/pypy/changeset/999de5e719bd/

Log:	retrace counter is now only increased when we actually do a retrace,
	unskip test

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
@@ -1788,9 +1788,8 @@
             return a1.val + b1.val
         res = self.meta_interp(g, [6, 14])
         assert res == g(6, 14)
-        self.check_loop_count(8)
-        self.check_loops(getarrayitem_gc=7, everywhere=True)
-        py.test.skip("for the following, we need setarrayitem(varindex)")
+        self.check_loop_count(9)
+        self.check_loops(getarrayitem_gc=8, everywhere=True)
 
     def test_multiple_specialied_versions_bridge(self):
         myjitdriver = JitDriver(greens = [], reds = ['y', 'x', 'z', 'res'])


More information about the pypy-commit mailing list