Author: Antonio Cuni <anto.c...@gmail.com> Branch: Changeset: r44735:b31644e85091 Date: 2011-06-06 13:50 +0200 http://bitbucket.org/pypy/pypy/changeset/b31644e85091/
Log: fix the test diff --git a/pypy/module/pypyjit/test_pypy_c/test_pypy_c_new.py b/pypy/module/pypyjit/test_pypy_c/test_pypy_c_new.py --- a/pypy/module/pypyjit/test_pypy_c/test_pypy_c_new.py +++ b/pypy/module/pypyjit/test_pypy_c/test_pypy_c_new.py @@ -1723,13 +1723,15 @@ a = A() while i < 100: i += i in a # ID: contains + b = 0 # to make sure that JUMP_ABSOLUTE is not part of the ID log = self.run(main, [], threshold=80) loop, = log.loops_by_filename(self.filepath) - # XXX: haven't confirmed his is correct, it's probably missing a - # few instructions assert loop.match_by_id("contains", """ - i1 = int_add(i0, 1) + guard_not_invalidated(descr=...) + i11 = force_token() + i12 = int_add_ovf(i5, i7) + guard_no_overflow(descr=...) """) def test_dont_trace_every_iteration(self): _______________________________________________ pypy-commit mailing list pypy-commit@python.org http://mail.python.org/mailman/listinfo/pypy-commit