[pypy-commit] pypy continulet-jit-3: Add an assert that fails in this branch for now.
arigo
noreply at buildbot.pypy.org
Tue Oct 16 19:07:34 CEST 2012
Author: Armin Rigo <arigo at tunes.org>
Branch: continulet-jit-3
Changeset: r58144:d1f619c8a44c
Date: 2012-10-16 17:20 +0200
http://bitbucket.org/pypy/pypy/changeset/d1f619c8a44c/
Log: Add an assert that fails in this branch for now.
diff --git a/pypy/jit/metainterp/test/test_recursive.py b/pypy/jit/metainterp/test/test_recursive.py
--- a/pypy/jit/metainterp/test/test_recursive.py
+++ b/pypy/jit/metainterp/test/test_recursive.py
@@ -774,6 +774,9 @@
virtualizables = ['frame'],
get_printable_location = lambda codeno : str(codeno))
+ class Oups(Exception):
+ pass
+
def main(codeno):
frame = Frame()
frame.thing = Thing(0)
@@ -790,6 +793,8 @@
subframe = Frame()
subframe.thing = Thing(nextval)
nextval = portal(1, subframe)
+ if subframe.thing.val != nextval:
+ raise Oups
frame.thing = Thing(nextval + 1)
i += 1
return frame.thing.val
More information about the pypy-commit
mailing list