[pypy-svn] r53722 - in pypy/branch/io-improvements/pypy/rpython/module: . test

fijal at codespeak.net fijal at codespeak.net
Sat Apr 12 18:21:47 CEST 2008


Author: fijal
Date: Sat Apr 12 18:21:46 2008
New Revision: 53722

Modified:
   pypy/branch/io-improvements/pypy/rpython/module/ll_os.py
   pypy/branch/io-improvements/pypy/rpython/module/test/test_posix.py
Log:
Run this test directly instead of on top of llinterp. this is because
implementing rffi.cast on top of llinterp correctly is an awful mess


Modified: pypy/branch/io-improvements/pypy/rpython/module/ll_os.py
==============================================================================
--- pypy/branch/io-improvements/pypy/rpython/module/ll_os.py	(original)
+++ pypy/branch/io-improvements/pypy/rpython/module/ll_os.py	Sat Apr 12 18:21:46 2008
@@ -24,6 +24,7 @@
 from pypy.rpython.lltypesystem.llmemory import raw_memcopy, sizeof,\
      itemoffsetof, cast_ptr_to_adr, cast_adr_to_ptr, offsetof
 from pypy.rpython.lltypesystem.rstr import STR
+from pypy.rpython.annlowlevel import llstr
 
 posix = __import__(os.name)
 

Modified: pypy/branch/io-improvements/pypy/rpython/module/test/test_posix.py
==============================================================================
--- pypy/branch/io-improvements/pypy/rpython/module/test/test_posix.py	(original)
+++ pypy/branch/io-improvements/pypy/rpython/module/test/test_posix.py	Sat Apr 12 18:21:46 2008
@@ -155,6 +155,9 @@
     pass
 
 class TestLLtypeNonMovingGc(BaseTestPosix, LLRtypeMixin):
+    def interpret(self, f, args):
+        return f(*args)
+    
     MOVING_GC = False
 
 class TestOOtype(BaseTestPosix, OORtypeMixin):



More information about the Pypy-commit mailing list