Author: Hakan Ardo <ha...@debian.org> Branch: jit-refactor-tests Changeset: r49811:e47a7b49880d Date: 2011-11-26 12:52 +0100 http://bitbucket.org/pypy/pypy/changeset/e47a7b49880d/
Log: convert test 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 @@ -144,10 +144,8 @@ return result_point[0].x * result_point[0].y assert self.meta_interp(main, [10]) == main(10) == 9000 - self.check_loops({"int_add": 3, "jump": 1, "int_lt": 1, "guard_true": 1, - "getinteriorfield_raw": 4, "setinteriorfield_raw": 2 - }) - + self.check_resops({'jump': 2, 'int_lt': 2, 'setinteriorfield_raw': 4, + 'getinteriorfield_raw': 8, 'int_add': 6, 'guard_true': 2}) class TestFfiCall(FfiCallTests, LLJitMixin): supports_all = False @@ -156,4 +154,4 @@ supports_all = True # supports_{floats,longlong,singlefloats} class TestFfiLookup(FfiLookupTests, LLJitMixin): - pass \ No newline at end of file + pass _______________________________________________ pypy-commit mailing list pypy-commit@python.org http://mail.python.org/mailman/listinfo/pypy-commit