[pypy-svn] r50988 - in pypy/branch/asmgcroot/pypy: rpython/memory/test translator/c/test

cfbolz at codespeak.net cfbolz at codespeak.net
Thu Jan 24 19:50:35 CET 2008


Author: cfbolz
Date: Thu Jan 24 19:50:34 2008
New Revision: 50988

Modified:
   pypy/branch/asmgcroot/pypy/rpython/memory/test/test_transformed_gc.py
   pypy/branch/asmgcroot/pypy/translator/c/test/test_boehm.py
   pypy/branch/asmgcroot/pypy/translator/c/test/test_stackless.py
Log:
missed some places


Modified: pypy/branch/asmgcroot/pypy/rpython/memory/test/test_transformed_gc.py
==============================================================================
--- pypy/branch/asmgcroot/pypy/rpython/memory/test/test_transformed_gc.py	(original)
+++ pypy/branch/asmgcroot/pypy/rpython/memory/test/test_transformed_gc.py	Thu Jan 24 19:50:34 2008
@@ -21,7 +21,8 @@
     t = TranslationContext()
     # XXX XXX XXX mess
     t.config.translation.gc = gcname
-    t.config.translation.stacklessgc = stacklessgc
+    if stacklessgc:
+        t.config.translation.gcrootfinder = "stackless"
     t.config.set(**extraconfigopts)
     t.buildannotator().build_types(func, inputtypes)
     if specialize:

Modified: pypy/branch/asmgcroot/pypy/translator/c/test/test_boehm.py
==============================================================================
--- pypy/branch/asmgcroot/pypy/translator/c/test/test_boehm.py	(original)
+++ pypy/branch/asmgcroot/pypy/translator/c/test/test_boehm.py	Thu Jan 24 19:50:34 2008
@@ -26,7 +26,8 @@
         from pypy.config.pypyoption import get_pypy_config
         config = get_pypy_config(translating=True)
         config.translation.gc = self.gcpolicy
-        config.translation.stacklessgc = self.stacklessgc
+        if self.stacklessgc:
+            config.translation.gcrootfinder = "stackless"
         config.translation.simplifying = True
         t = TranslationContext(config=config)
         self.t = t

Modified: pypy/branch/asmgcroot/pypy/translator/c/test/test_stackless.py
==============================================================================
--- pypy/branch/asmgcroot/pypy/translator/c/test/test_stackless.py	(original)
+++ pypy/branch/asmgcroot/pypy/translator/c/test/test_stackless.py	Thu Jan 24 19:50:34 2008
@@ -33,7 +33,8 @@
         config = get_pypy_config(translating=True)
         config.translation.gc = self.gcpolicy
         config.translation.stackless = True
-        config.translation.stacklessgc = self.stacklessgc
+        if self.stacklessgc:
+            config.translation.gcrootfinder = "stackless"
         t = TranslationContext(config=config)
         self.t = t
         t.buildannotator().build_types(entry_point, [s_list_of_strings])



More information about the Pypy-commit mailing list