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

arigo at codespeak.net arigo at codespeak.net
Mon Oct 11 14:30:01 CEST 2010


Author: arigo
Date: Mon Oct 11 14:29:59 2010
New Revision: 77781

Modified:
   pypy/trunk/pypy/jit/backend/x86/test/test_runner.py
Log:
Unsure, but it seems that the debugging info changed.  Fixed the test.


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	Mon Oct 11 14:29:59 2010
@@ -506,8 +506,8 @@
         self.cpu.execute_token(ops.token)
         # check debugging info
         name, struct = self.cpu.assembler.loop_run_counters[0]
-        assert name == 'xyz'
+        assert name == 0       # 'xyz'
         assert struct.i == 10
         self.cpu.finish_once()
         lines = py.path.local(self.logfile + ".count").readlines()
-        assert lines[0] == '10      xyz\n'
+        assert lines[0] == '0:10\n'  # '10      xyz\n'



More information about the Pypy-commit mailing list