[pypy-svn] r50818 - pypy/dist/pypy/jit/hintannotator/test
fijal at codespeak.net
fijal at codespeak.net
Mon Jan 21 09:55:07 CET 2008
Author: fijal
Date: Mon Jan 21 09:55:06 2008
New Revision: 50818
Modified:
pypy/dist/pypy/jit/hintannotator/test/test_annotator.py
Log:
Add an exploding test. Not sure if jit should see any rffi stuff.
Modified: pypy/dist/pypy/jit/hintannotator/test/test_annotator.py
==============================================================================
--- pypy/dist/pypy/jit/hintannotator/test/test_annotator.py (original)
+++ pypy/dist/pypy/jit/hintannotator/test/test_annotator.py Mon Jan 21 09:55:06 2008
@@ -1073,6 +1073,13 @@
hs = self.hannotate(f, [], policy=P_NOVIRTUAL)
assert not hs.is_green()
+ def test_raw_malloc(self):
+ py.test.skip("Exploding")
+ S = lltype.Struct('x', ('x', lltype.Signed))
+ def f():
+ p = lltype.malloc(S, flavor='raw')
+
+ hs = self.hannotate(f, [], policy=P_NOVIRTUAL)
class TestOOType(BaseAnnotatorTest):
type_system = 'ootype'
More information about the Pypy-commit
mailing list