[pypy-commit] stmgc default: single-threaded tests seem to pass now.

arigo noreply at buildbot.pypy.org
Sun Jun 16 11:56:36 CEST 2013


Author: Armin Rigo <arigo at tunes.org>
Branch: 
Changeset: r144:e33b431fa84c
Date: 2013-06-16 11:56 +0200
http://bitbucket.org/pypy/stmgc/changeset/e33b431fa84c/

Log:	single-threaded tests seem to pass now.

diff --git a/c4/test/test_random.py b/c4/test/test_random.py
--- a/c4/test/test_random.py
+++ b/c4/test/test_random.py
@@ -217,7 +217,7 @@
             p = lst.pop()
             if p == emptypair:
                 continue
-            self.dump(repr(p))
+            #self.dump(repr(p))
             self.check(p)
 
             ptr = self.nonrecord_barrier(p.ptr)
@@ -243,12 +243,12 @@
                 qobj = content[i]
                 qptr = lib.rawgetptr(ptr, i)
                 q = pair(qobj, qptr)
-                self.dump('[%d] = %r' % (i, q))
+                #self.dump('[%d] = %r' % (i, q))
                 self.check(q)
                 if q not in seen:
                     lst.append(q)
                     seen.add(q)
-        self.dump('ok')
+        #self.dump('ok')
 
     def transaction_break(self):
         if self.interruptible_transaction:
@@ -415,9 +415,9 @@
     tester.run_single_thread()
 
 def test_more_single_thread():
-    #py.test.skip("more random tests")
-    for i in range(70, 100):
-        yield test_single_thread, i + 3900
+    py.test.skip("more random tests")
+    for i in range(200):
+        yield test_single_thread, i + 3800
 
 
 class Sync(object):


More information about the pypy-commit mailing list