[pypy-commit] pypy gc-minimark-pinning: another failing test

fijal noreply at buildbot.pypy.org
Sun Apr 15 20:57:34 CEST 2012


Author: Maciej Fijalkowski <fijall at gmail.com>
Branch: gc-minimark-pinning
Changeset: r54380:f1d2d360a809
Date: 2012-04-15 20:57 +0200
http://bitbucket.org/pypy/pypy/changeset/f1d2d360a809/

Log:	another failing test

diff --git a/pypy/rpython/memory/gc/test/test_direct.py b/pypy/rpython/memory/gc/test/test_direct.py
--- a/pypy/rpython/memory/gc/test/test_direct.py
+++ b/pypy/rpython/memory/gc/test/test_direct.py
@@ -541,6 +541,8 @@
         self.gc.id(s) # allocate shadow
         self.gc.pin(llmemory.cast_ptr_to_adr(s))
         self.gc.minor_collection(1)
+        self.gc.unpin(llmemory.cast_ptr_to_adr(s))
+        self.gc.minor_collection(1)
         assert self.gc.nursery_free != self.gc.nursery
         # we still have a pinned object
 


More information about the pypy-commit mailing list