[pypy-svn] r76503 - pypy/trunk/pypy/jit/backend/x86/test

arigo at codespeak.net arigo at codespeak.net
Fri Aug 6 12:00:11 CEST 2010


Author: arigo
Date: Fri Aug  6 12:00:10 2010
New Revision: 76503

Modified:
   pypy/trunk/pypy/jit/backend/x86/test/test_runner.py
Log:
This fix goes with r76502.


Modified: pypy/trunk/pypy/jit/backend/x86/test/test_runner.py
==============================================================================
--- pypy/trunk/pypy/jit/backend/x86/test/test_runner.py	(original)
+++ pypy/trunk/pypy/jit/backend/x86/test/test_runner.py	Fri Aug  6 12:00:10 2010
@@ -498,9 +498,9 @@
         self.cpu.set_future_value_int(0, 0)
         self.cpu.execute_token(ops.token)
         # check debugging info
-        name, arr = self.cpu.assembler.loop_run_counters[0]
+        name, struct = self.cpu.assembler.loop_run_counters[0]
         assert name == 'xyz'
-        assert arr[0] == 10
+        assert struct.i == 10
         self.cpu.finish_once()
         lines = py.path.local(self.logfile + ".count").readlines()
         assert lines[0] == 'xyz:10\n'



More information about the Pypy-commit mailing list