[pypy-commit] pypy guard-compatible: Tweak the test so that it would have crashed before ceb899180e06
arigo
pypy.commits at gmail.com
Mon May 23 12:17:50 EDT 2016
Author: Armin Rigo <arigo at tunes.org>
Branch: guard-compatible
Changeset: r84629:1f353c669b88
Date: 2016-05-23 18:13 +0200
http://bitbucket.org/pypy/pypy/changeset/1f353c669b88/
Log: Tweak the test so that it would have crashed before ceb899180e06
diff --git a/rpython/jit/backend/llsupport/test/test_zrpy_gc_direct.py b/rpython/jit/backend/llsupport/test/test_zrpy_gc_direct.py
--- a/rpython/jit/backend/llsupport/test/test_zrpy_gc_direct.py
+++ b/rpython/jit/backend/llsupport/test/test_zrpy_gc_direct.py
@@ -10,6 +10,7 @@
from rpython.translator.unsimplify import call_initial_function
from rpython.translator.translator import TranslationContext
from rpython.translator.c import genc
+from rpython.rlib import rgc
def run_guards_translated(gcremovetypeptr):
@@ -296,6 +297,7 @@
print 'seen ok'
else:
print 'seen BAD VALUE!'
+ rgc.collect()
call_initial_function(t, g)
More information about the pypy-commit
mailing list