[pypy-commit] pypy default: fix test

arigo noreply at buildbot.pypy.org
Mon Jan 2 13:01:31 CET 2012


Author: Armin Rigo <arigo at tunes.org>
Branch: 
Changeset: r50974:a58d0c303bce
Date: 2012-01-02 13:01 +0100
http://bitbucket.org/pypy/pypy/changeset/a58d0c303bce/

Log:	fix test

diff --git a/pypy/jit/backend/x86/test/test_runner.py b/pypy/jit/backend/x86/test/test_runner.py
--- a/pypy/jit/backend/x86/test/test_runner.py
+++ b/pypy/jit/backend/x86/test/test_runner.py
@@ -420,8 +420,8 @@
         debug._log = None
         #
         assert ops_offset is looptoken._x86_ops_offset
-        # getfield_raw/int_add/setfield_raw + ops + None
-        assert len(ops_offset) == 3 + len(operations) + 1
+        # 2*(getfield_raw/int_add/setfield_raw) + ops + None
+        assert len(ops_offset) == 2*3 + len(operations) + 1
         assert (ops_offset[operations[0]] <=
                 ops_offset[operations[1]] <=
                 ops_offset[operations[2]] <=


More information about the pypy-commit mailing list