[pypy-commit] pypy default: failing test in optimizebasic form, if this code is invalid then this test can be removed
alex_gaynor
noreply at buildbot.pypy.org
Sun Oct 23 02:24:17 CEST 2011
Author: Alex Gaynor <alex.gaynor at gmail.com>
Branch:
Changeset: r48352:6be78cdf609b
Date: 2011-10-22 17:24 -0700
http://bitbucket.org/pypy/pypy/changeset/6be78cdf609b/
Log: failing test in optimizebasic form, if this code is invalid then
this test can be removed
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
@@ -4800,6 +4800,18 @@
"""
self.optimize_strunicode_loop(ops, expected)
+ def test_ptr_eq_str_constant(self):
+ ops = """
+ []
+ i0 = ptr_eq(s"abc", s"\x00")
+ finish(i0)
+ """
+ expected = """
+ []
+ finish(0)
+ """
+ self.optimize_loop(ops, expected)
+
class TestLLtype(BaseTestOptimizeBasic, LLtypeMixin):
pass
More information about the pypy-commit
mailing list