[pypy-svn] r68889 - pypy/branch/logging2/pypy/jit/metainterp/test

arigo at codespeak.net arigo at codespeak.net
Sun Nov 1 15:35:03 CET 2009


Author: arigo
Date: Sun Nov  1 15:35:03 2009
New Revision: 68889

Modified:
   pypy/branch/logging2/pypy/jit/metainterp/test/test_loop.py
Log:
Remove this test which no longer makes sense.


Modified: pypy/branch/logging2/pypy/jit/metainterp/test/test_loop.py
==============================================================================
--- pypy/branch/logging2/pypy/jit/metainterp/test/test_loop.py	(original)
+++ pypy/branch/logging2/pypy/jit/metainterp/test/test_loop.py	Sun Nov  1 15:35:03 2009
@@ -594,25 +594,6 @@
 
         res = self.meta_interp(f, [200])
 
-    def test_dump_storage(self):
-        import os
-        from pypy.tool.udir import udir
-        logfile = udir.join('resume.log')
-        os.environ['PYPYJITRESUMELOG'] = str(logfile)
-        try:
-            jitdriver = JitDriver(greens = [], reds = ['i', 'n'])
-
-            def f(n):
-                i = 0
-                while i < n:
-                    jitdriver.can_enter_jit(n=n, i=i)
-                    jitdriver.jit_merge_point(n=n, i=i)
-                    i += 1
-                return i
-            res = self.meta_interp(f, [10])
-            data = logfile.read() # assert did not crash
-        finally:
-            del os.environ['PYPYJITRESUMELOG']
 
 class TestOOtype(LoopTest, OOJitMixin):
     pass



More information about the Pypy-commit mailing list