Author: Armin Rigo <ar...@tunes.org>
Branch: stmgc-c7
Changeset: r70141:53a2a9ecde3e
Date: 2014-03-21 07:54 +0100
http://bitbucket.org/pypy/pypy/changeset/53a2a9ecde3e/

Log:    Skip or remove the remaining tests

diff --git a/rpython/translator/stm/test/test_ztranslated.py 
b/rpython/translator/stm/test/test_ztranslated.py
--- a/rpython/translator/stm/test/test_ztranslated.py
+++ b/rpython/translator/stm/test/test_ztranslated.py
@@ -1,3 +1,4 @@
+import py
 from rpython.rlib import rstm, rgc, objectmodel
 from rpython.rlib.debug import debug_print
 from rpython.rtyper.lltypesystem import lltype, rffi
@@ -190,6 +191,7 @@
         assert '12\n12\n' in data, "got: %r" % (data,)
 
     def test_prebuilt_nongc(self):
+        py.test.skip("stmframework: GC pointer written into a non-GC location")
         def check(foobar, retry_counter):
             return 0    # do nothing
         from rpython.rtyper.lltypesystem import lltype
@@ -380,24 +382,6 @@
         assert match
         assert int(match.group(1)) < 20
 
-    def test_gc_writebarrier(self):
-        class X(object):
-            pass
-        prebuilt = X()
-        prebuilt.foo = 42
-
-        def main(argv):
-            llop.gc_writebarrier(lltype.Void, prebuilt)
-            debug_print(objectmodel.current_object_addr_as_int(prebuilt))
-            prebuilt.foo = 43
-            debug_print(objectmodel.current_object_addr_as_int(prebuilt))
-            return 0
-
-        t, cbuilder = self.compile(main)
-        data, dataerr = cbuilder.cmdexec('', err=True)
-        lines = dataerr.split('\n')
-        assert lines[0] == lines[1]
-
     def test_dtoa(self):
         def main(argv):
             a = len(argv) * 0.2
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to