[pypy-svn] r45486 - pypy/dist/pypy/rpython/rctypes/test
pedronis at codespeak.net
pedronis at codespeak.net
Sat Aug 4 18:23:47 CEST 2007
Author: pedronis
Date: Sat Aug 4 18:23:45 2007
New Revision: 45486
Modified:
pypy/dist/pypy/rpython/rctypes/test/test_overhead.py
Log:
make this test really test something and skip it because right now it is broken. malloc removal doesn't know about zero malloc
Modified: pypy/dist/pypy/rpython/rctypes/test/test_overhead.py
==============================================================================
--- pypy/dist/pypy/rpython/rctypes/test/test_overhead.py (original)
+++ pypy/dist/pypy/rpython/rctypes/test/test_overhead.py Sat Aug 4 18:23:45 2007
@@ -4,6 +4,8 @@
"""
import py
+py.test.skip("broken: malloc removal doesn't do anything with zero mallocs")
+
import pypy.rpython.rctypes.implementation
from pypy import conftest
from pypy.rpython.test.test_llinterp import gengraph
@@ -22,7 +24,7 @@
result = []
for block in t.graphs[0].iterblocks():
for op in block.operations:
- if op.opname.startswith('malloc'):
+ if op.opname.startswith('malloc') or op.opname.startswith('zero_malloc'):
result.append(op.result.concretetype)
return result
More information about the Pypy-commit
mailing list