Commits

Anonymous committed 630f4f1

test_compile_asmlen checkops cannot count instructions because PPC64
materializes constants with a variable number of instructions.

Comments (0)

Files changed (1)

pypy/jit/backend/test/runner_test.py

                 for i in range(len(mc)):
                     assert mc[i].split("\t")[2].startswith(ops[i])
             else:
-                if len(mc) != len(ops):
-                    oplist = ops2
-                else:
-                    oplist = ops
-                assert len(mc) == len(oplist)
-                for i in range(len(mc)):
-                    assert mc[i].split("\t")[2].startswith(oplist[i])
+                pass  # instructions depend on address
 
         data = ctypes.string_at(info.asmaddr, info.asmlen)
         mc = list(machine_code_dump(data, info.asmaddr, cpuname))