Author: Maciej Fijalkowski <fij...@gmail.com> Branch: string-promote-2 Changeset: r47934:460767032152 Date: 2011-10-11 12:10 +0200 http://bitbucket.org/pypy/pypy/changeset/460767032152/
Log: make the test check something diff --git a/pypy/jit/metainterp/test/test_string.py b/pypy/jit/metainterp/test/test_string.py --- a/pypy/jit/metainterp/test/test_string.py +++ b/pypy/jit/metainterp/test/test_string.py @@ -512,13 +512,14 @@ driver = JitDriver(greens = [], reds = ['n']) def f(n): - while n < 12: + while n < 21: driver.jit_merge_point(n=n) promote_string(str(n % 3)) n += 1 return 0 self.meta_interp(f, [0]) + self.check_loops(call=3 + 1) # one for int2str #class TestOOtype(StringTests, OOJitMixin): # CALL = "oosend" _______________________________________________ pypy-commit mailing list pypy-commit@python.org http://mail.python.org/mailman/listinfo/pypy-commit