[pypy-svn] r64211 - pypy/branch/pyjitpl5-simplify/pypy/jit/metainterp/test

fijal at codespeak.net fijal at codespeak.net
Fri Apr 17 03:48:02 CEST 2009


Author: fijal
Date: Fri Apr 17 03:48:00 2009
New Revision: 64211

Modified:
   pypy/branch/pyjitpl5-simplify/pypy/jit/metainterp/test/test_loop.py
Log:
actually make this test check anything


Modified: pypy/branch/pyjitpl5-simplify/pypy/jit/metainterp/test/test_loop.py
==============================================================================
--- pypy/branch/pyjitpl5-simplify/pypy/jit/metainterp/test/test_loop.py	(original)
+++ pypy/branch/pyjitpl5-simplify/pypy/jit/metainterp/test/test_loop.py	Fri Apr 17 03:48:00 2009
@@ -313,6 +313,9 @@
             return x
         expected = f(100)
         res = self.meta_interp(f, [100])
+        assert len(res.chars) == len(expected)
+        for i in range(len(expected)):
+            assert expected[i] == res.chars[i]
 
     def test_adapt_bridge_to_merge_point(self):
         myjitdriver = JitDriver(greens = [], reds = ['x', 'z'])



More information about the Pypy-commit mailing list