[pypy-commit] pypy reverse-debugger: extra test
arigo
pypy.commits at gmail.com
Sun Jul 3 11:50:50 EDT 2016
Author: Armin Rigo <arigo at tunes.org>
Branch: reverse-debugger
Changeset: r85524:4897e2599437
Date: 2016-07-03 16:38 +0200
http://bitbucket.org/pypy/pypy/changeset/4897e2599437/
Log: extra test
diff --git a/rpython/translator/revdb/test/test_raw.py b/rpython/translator/revdb/test/test_raw.py
--- a/rpython/translator/revdb/test/test_raw.py
+++ b/rpython/translator/revdb/test/test_raw.py
@@ -25,9 +25,15 @@
baz = lltype.malloc(BAZ, flavor='raw', immortal=True)
baz.p = foo
+ VBAR = lltype.Array(lltype.Ptr(FOO))
+ vbar = lltype.malloc(VBAR, 3, flavor='raw', immortal=True)
+ vbar[0] = vbar[1] = vbar[2] = foo
+
def main(argv):
assert bar.p == foo
assert baz.p == foo
+ for i in range(3):
+ assert vbar[i] == foo
revdb.stop_point()
return 9
More information about the pypy-commit
mailing list