Author: Carl Friedrich Bolz <cfb...@gmx.de> Branch: small-unroll-improvements Changeset: r70443:69a33b08802a Date: 2014-04-04 18:45 +0200 http://bitbucket.org/pypy/pypy/changeset/69a33b08802a/
Log: check differently diff --git a/rpython/jit/metainterp/test/test_loop.py b/rpython/jit/metainterp/test/test_loop.py --- a/rpython/jit/metainterp/test/test_loop.py +++ b/rpython/jit/metainterp/test/test_loop.py @@ -495,11 +495,12 @@ for i in range(7): sa += f(n, s) return sa - assert self.meta_interp(g, [25, 1]) == 7 * 25 * (7 + 8) + assert self.meta_interp(g, [25, 1]) == g(25, 1) def h(n): return g(n, 1) + g(n, 2) - assert self.meta_interp(h, [25]) == 7 * 25 * (7 + 8 + 2 + 3) + assert self.meta_interp(h, [25]) == h(25) + def test_three_nested_loops(self): myjitdriver = JitDriver(greens = ['i'], reds = ['x']) _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit