[pypy-svn] r35758 - pypy/dist/pypy/jit/codegen/i386/test
ac at codespeak.net
ac at codespeak.net
Thu Dec 14 18:51:37 CET 2006
Author: ac
Date: Thu Dec 14 18:51:36 2006
New Revision: 35758
Added:
pypy/dist/pypy/jit/codegen/i386/test/test_genc_tlc.py (contents, props changed)
Modified:
pypy/dist/pypy/jit/codegen/i386/test/test_genc_portal.py
Log:
(pedronis, arre) Add more tests and fix portal tests.
Modified: pypy/dist/pypy/jit/codegen/i386/test/test_genc_portal.py
==============================================================================
--- pypy/dist/pypy/jit/codegen/i386/test/test_genc_portal.py (original)
+++ pypy/dist/pypy/jit/codegen/i386/test/test_genc_portal.py Thu Dec 14 18:51:36 2006
@@ -14,8 +14,10 @@
annhelper = self.hrtyper.annhelper
convert_result = getattr(self.main, 'convert_result', str)
annotator = self.rtyper.annotator
- args_s = [annotator.binding(v) for v in self.maingraph.getargs()]
- s_result = self.rtyper.annotator.binding(self.maingraph.getreturnvar())
+ args_s = [annmodel.lltype_to_annotation(v.concretetype)
+ for v in self.maingraph.getargs()]
+ retvar = self.maingraph.getreturnvar()
+ s_result = annmodel.lltype_to_annotation(retvar.concretetype)
main_fnptr = self.rtyper.type_system.getcallable(self.maingraph)
main = PseudoHighLevelCallable(main_fnptr, args_s, s_result)
Added: pypy/dist/pypy/jit/codegen/i386/test/test_genc_tlc.py
==============================================================================
--- (empty file)
+++ pypy/dist/pypy/jit/codegen/i386/test/test_genc_tlc.py Thu Dec 14 18:51:36 2006
@@ -0,0 +1,12 @@
+import py
+from pypy.jit.timeshifter.test import test_tlc
+from pypy.jit.codegen.i386.test.test_genc_portal import I386PortalTestMixin
+
+
+class TestTLC(I386PortalTestMixin,
+ test_tlc.TestTLC):
+
+ # for the individual tests see
+ # ====> ../../../timeshifter/test/test_tl.py
+
+ pass
More information about the Pypy-commit
mailing list