[pypy-commit] pypy default: fix the test - secondary callbacks now do that

fijal noreply at buildbot.pypy.org
Mon May 13 17:54:49 CEST 2013


Author: Maciej Fijalkowski <fijall at gmail.com>
Branch: 
Changeset: r64032:afb35608bfbf
Date: 2013-05-13 17:54 +0200
http://bitbucket.org/pypy/pypy/changeset/afb35608bfbf/

Log:	fix the test - secondary callbacks now do that

diff --git a/rpython/translator/c/gcc/test/test_asmgcroot.py b/rpython/translator/c/gcc/test/test_asmgcroot.py
--- a/rpython/translator/c/gcc/test/test_asmgcroot.py
+++ b/rpython/translator/c/gcc/test/test_asmgcroot.py
@@ -195,10 +195,7 @@
         
         @entrypoint("x42", [lltype.Signed, lltype.Signed], c_name='callback')
         def mycallback(a, b):
-            rffi.stackcounter.stacks_counter += 1
-            llop.gc_stack_bottom(lltype.Void)
             gc.collect()
-            rffi.stackcounter.stacks_counter -= 1
             return a + b
 
         c_source = py.code.Source("""


More information about the pypy-commit mailing list