[pypy-commit] pypy unroll-if-alt: Failing test, not sure how to fix it besides a special case :/

alex_gaynor noreply at buildbot.pypy.org
Sat Jul 30 08:20:04 CEST 2011


Author: Alex Gaynor <alex.gaynor at gmail.com>
Branch: unroll-if-alt
Changeset: r46102:0a65df43b4ab
Date: 2011-07-29 23:20 -0700
http://bitbucket.org/pypy/pypy/changeset/0a65df43b4ab/

Log:	Failing test, not sure how to fix it besides a special case :/

diff --git a/pypy/jit/metainterp/optimizeopt/test/test_optimizebasic.py b/pypy/jit/metainterp/optimizeopt/test/test_optimizebasic.py
--- a/pypy/jit/metainterp/optimizeopt/test/test_optimizebasic.py
+++ b/pypy/jit/metainterp/optimizeopt/test/test_optimizebasic.py
@@ -4637,6 +4637,19 @@
         """
         self.optimize_strunicode_loop(ops, expected)
 
+    def test_empty_copystrunicontent_virtual(self):
+        ops = """
+        [p0]
+        p1 = newstr(23)
+        copystrcontent(p0, p1, 0, 0, 0)
+        jump(p0)
+        """
+        expected = """
+        [p0]
+        jump(p0)
+        """
+        self.optimize_strunicode_loop(ops, expected)
+
 
 class TestLLtype(BaseTestOptimizeBasic, LLtypeMixin):
     pass


More information about the pypy-commit mailing list