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

Maciej Fijalkowski fijall at gmail.com
Tue Oct 12 12:07:50 CEST 2010


Sorry about that, my fault. The reason was that code strings are not
unique (obviously)

On Mon, Oct 11, 2010 at 2:30 PM,  <arigo at codespeak.net> wrote:
> 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'
> _______________________________________________
> pypy-svn mailing list
> pypy-svn at codespeak.net
> http://codespeak.net/mailman/listinfo/pypy-svn
>



More information about the Pypy-commit mailing list