[pypy-svn] r64576 - pypy/branch/pyjitpl5/pypy/jit/backend/x86/test

fijal at codespeak.net fijal at codespeak.net
Wed Apr 22 18:27:46 CEST 2009


Author: fijal
Date: Wed Apr 22 18:27:45 2009
New Revision: 64576

Added:
   pypy/branch/pyjitpl5/pypy/jit/backend/x86/test/test_zrpy_loop.py   (contents, props changed)
Modified:
   pypy/branch/pyjitpl5/pypy/jit/backend/x86/test/test_zrpy_exception.py
Log:
Add a test that showcases a problem that is silently eaten by ll2ctypes
(not really silently, but one need to look deeper).

The problem is that exceptions like DoneWithThisFrame travel through
assembler and they really shouldn't


Modified: pypy/branch/pyjitpl5/pypy/jit/backend/x86/test/test_zrpy_exception.py
==============================================================================
--- pypy/branch/pyjitpl5/pypy/jit/backend/x86/test/test_zrpy_exception.py	(original)
+++ pypy/branch/pyjitpl5/pypy/jit/backend/x86/test/test_zrpy_exception.py	Wed Apr 22 18:27:45 2009
@@ -2,7 +2,6 @@
 import py
 from pypy.jit.metainterp.test import test_zrpy_exception
 from pypy.jit.backend.x86.test.test_zrpy_slist import Jit386Mixin
-from pypy.jit.backend.x86.support import c_meta_interp
 
 class TestException(Jit386Mixin, test_zrpy_exception.TestLLExceptions):
     # for the individual tests see

Added: pypy/branch/pyjitpl5/pypy/jit/backend/x86/test/test_zrpy_loop.py
==============================================================================
--- (empty file)
+++ pypy/branch/pyjitpl5/pypy/jit/backend/x86/test/test_zrpy_loop.py	Wed Apr 22 18:27:45 2009
@@ -0,0 +1,8 @@
+
+from pypy.jit.metainterp.test.test_loop import LoopTest
+from pypy.jit.backend.x86.test.test_zrpy_slist import Jit386Mixin
+
+class TestLoop(Jit386Mixin, LoopTest):
+    # for the individual tests see
+    # ====> ../../../metainterp/test/test_exception.py
+    pass



More information about the Pypy-commit mailing list