[pypy-svn] r76071 - pypy/trunk/pypy/jit/metainterp/test

arigo at codespeak.net arigo at codespeak.net
Fri Jul 9 14:59:45 CEST 2010


Author: arigo
Date: Fri Jul  9 14:59:43 2010
New Revision: 76071

Modified:
   pypy/trunk/pypy/jit/metainterp/test/test_recursive.py
Log:
This test makes no sense as it is written.


Modified: pypy/trunk/pypy/jit/metainterp/test/test_recursive.py
==============================================================================
--- pypy/trunk/pypy/jit/metainterp/test/test_recursive.py	(original)
+++ pypy/trunk/pypy/jit/metainterp/test/test_recursive.py	Fri Jul  9 14:59:43 2010
@@ -523,7 +523,7 @@
     def test_trace_from_start(self):
         def p(pc, code):
             code = hlstr(code)
-            return "%s %d %s" % (code, pc, code[pc])
+            return "'%s' at %d: %s" % (code, pc, code[pc])
         def c(pc, code):
             return "l" not in hlstr(code)
         myjitdriver = JitDriver(greens=['pc', 'code'], reds=['n'],
@@ -556,6 +556,7 @@
             result = 0
             for i in range(m):
                 result += f('+-cl--', i)
+        g(50) # <--- this test is broken
         self.meta_interp(g, [50], backendopt=True)
         self.check_tree_loop_count(3)
         self.check_history(int_add=1)



More information about the Pypy-commit mailing list