[pypy-svn] r66624 - pypy/branch/pyjitpl5/pypy/jit/backend/x86/test
arigo at codespeak.net
arigo at codespeak.net
Sat Jul 25 12:12:55 CEST 2009
Author: arigo
Date: Sat Jul 25 12:12:54 2009
New Revision: 66624
Modified:
pypy/branch/pyjitpl5/pypy/jit/backend/x86/test/test_zrpy_gc.py
Log:
Add debug prints. The test passes again starting from r66623.
Modified: pypy/branch/pyjitpl5/pypy/jit/backend/x86/test/test_zrpy_gc.py
==============================================================================
--- pypy/branch/pyjitpl5/pypy/jit/backend/x86/test/test_zrpy_gc.py (original)
+++ pypy/branch/pyjitpl5/pypy/jit/backend/x86/test/test_zrpy_gc.py Sat Jul 25 12:12:54 2009
@@ -191,6 +191,7 @@
def test_compile_hybrid_4():
# Fourth version of the test, with __del__.
+ from pypy.rlib.debug import debug_print
class Counter:
cnt = 0
counter = Counter()
@@ -199,6 +200,7 @@
counter.cnt -= 1
myjitdriver = JitDriver(greens = [], reds = ['n', 'x'])
def main(n, x):
+ debug_print('counter.cnt =', counter.cnt)
assert counter.cnt < 5
counter.cnt = n // x.foo
while n > 0:
More information about the Pypy-commit
mailing list