Author: Hakan Ardo <ha...@debian.org> Branch: jit-targets Changeset: r49820:e307e21d62af Date: 2011-11-26 14:03 +0100 http://bitbucket.org/pypy/pypy/changeset/e307e21d62af/
Log: fix tests diff --git a/pypy/jit/metainterp/test/test_fficall.py b/pypy/jit/metainterp/test/test_fficall.py --- a/pypy/jit/metainterp/test/test_fficall.py +++ b/pypy/jit/metainterp/test/test_fficall.py @@ -76,14 +76,14 @@ int_add=2, int_lt=2, guard_true=2, - jump=2) + jump=1) else: self.check_resops( call_release_gil=0, # no CALL_RELEASE_GIL int_add=2, int_lt=2, guard_true=2, - jump=2) + jump=1) return res def test_byval_result(self): @@ -144,7 +144,7 @@ return result_point[0].x * result_point[0].y assert self.meta_interp(main, [10]) == main(10) == 9000 - self.check_resops({'jump': 2, 'int_lt': 2, 'setinteriorfield_raw': 4, + self.check_resops({'jump': 1, 'int_lt': 2, 'setinteriorfield_raw': 4, 'getinteriorfield_raw': 8, 'int_add': 6, 'guard_true': 2}) class TestFfiCall(FfiCallTests, LLJitMixin): _______________________________________________ pypy-commit mailing list pypy-commit@python.org http://mail.python.org/mailman/listinfo/pypy-commit