Author: Maciej Fijalkowski <[email protected]>
Branch: optresult-unroll
Changeset: r78914:3abe6c76a02f
Date: 2015-08-11 16:47 +0200
http://bitbucket.org/pypy/pypy/changeset/3abe6c76a02f/
Log: fix some tests
diff --git a/rpython/jit/metainterp/optimizeopt/test/test_optimizeopt.py
b/rpython/jit/metainterp/optimizeopt/test/test_optimizeopt.py
--- a/rpython/jit/metainterp/optimizeopt/test/test_optimizeopt.py
+++ b/rpython/jit/metainterp/optimizeopt/test/test_optimizeopt.py
@@ -7983,15 +7983,15 @@
ops = """
[p5, p6]
i10 = getfield_gc_i(p5, descr=valuedescr)
- i11 = getfield_gc_i(p6, descr=nextdescr)
+ i11 = getfield_gc_i(p6, descr=chardescr)
call_n(i10, i11, descr=nonwritedescr)
- setfield_gc(p6, i10, descr=nextdescr)
+ setfield_gc(p6, i10, descr=chardescr)
jump(p5, p6)
"""
expected = """
[p5, p6, i10, i11]
call_n(i10, i11, descr=nonwritedescr)
- setfield_gc(p6, i10, descr=nextdescr)
+ setfield_gc(p6, i10, descr=chardescr)
jump(p5, p6, i10, i10)
"""
self.optimize_loop(ops, expected)
diff --git a/rpython/jit/metainterp/optimizeopt/test/test_unroll.py
b/rpython/jit/metainterp/optimizeopt/test/test_unroll.py
--- a/rpython/jit/metainterp/optimizeopt/test/test_unroll.py
+++ b/rpython/jit/metainterp/optimizeopt/test/test_unroll.py
@@ -291,4 +291,4 @@
jump(p1)
"""
es, loop, preamble = self.optimize(ops)
- xxx
+ # assert did not crash
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit