[pypy-svn] r64862 - pypy/branch/pyjitpl5/pypy/jit/backend/test

arigo at codespeak.net arigo at codespeak.net
Thu Apr 30 15:54:54 CEST 2009


Author: arigo
Date: Thu Apr 30 15:54:46 2009
New Revision: 64862

Modified:
   pypy/branch/pyjitpl5/pypy/jit/backend/test/runner.py
Log:
More fixes.


Modified: pypy/branch/pyjitpl5/pypy/jit/backend/test/runner.py
==============================================================================
--- pypy/branch/pyjitpl5/pypy/jit/backend/test/runner.py	(original)
+++ pypy/branch/pyjitpl5/pypy/jit/backend/test/runner.py	Thu Apr 30 15:54:46 2009
@@ -34,6 +34,8 @@
             return BoxInt(self.cpu.get_latest_value_int(0))
         elif result_type == 'ptr':
             return BoxPtr(self.cpu.get_latest_value_ptr(0))
+        elif result_type == 'void':
+            return None
         else:
             assert False
 
@@ -293,6 +295,7 @@
             
 class LLtypeBackendTest(BaseBackendTest):
 
+    type_system = 'lltype'
     Ptr = lltype.Ptr
     FuncType = lltype.FuncType
     malloc = staticmethod(lltype.malloc)
@@ -342,6 +345,7 @@
 
 class OOtypeBackendTest(BaseBackendTest):
 
+    type_system = 'ootype'
     Ptr = lambda x: x
     FuncType = ootype.StaticMethod
     malloc = staticmethod(ootype.new)



More information about the Pypy-commit mailing list