[pypy-commit] stmgc c5: The next test to pass

arigo noreply at buildbot.pypy.org
Thu Dec 19 15:22:13 CET 2013


Author: Armin Rigo <arigo at tunes.org>
Branch: c5
Changeset: r565:99e3546e6233
Date: 2013-12-19 14:02 +0100
http://bitbucket.org/pypy/stmgc/changeset/99e3546e6233/

Log:	The next test to pass

diff --git a/c5/test/test_basic.py b/c5/test/test_basic.py
--- a/c5/test/test_basic.py
+++ b/c5/test/test_basic.py
@@ -234,3 +234,14 @@
         assert p1[8] == 'B'
         assert p2[8] == 'b'
         assert p3[8] == ':'
+
+    def test_overflow_write_history(self):
+        stm_start_transaction()
+        plist = [stm_allocate(n) for n in range(16, 256, 8)]
+        stm_stop_transaction(False)
+        #
+        for i in range(20):
+            stm_start_transaction()
+            for p in plist:
+                stm_write(p)
+            stm_stop_transaction(False)


More information about the pypy-commit mailing list