[pypy-svn] r38699 - pypy/dist/pypy/rpython/test

pedronis at codespeak.net pedronis at codespeak.net
Tue Feb 13 15:23:37 CET 2007


Author: pedronis
Date: Tue Feb 13 15:23:34 2007
New Revision: 38699

Modified:
   pypy/dist/pypy/rpython/test/test_rpbc.py
Log:
guess which option I picked - the options here were change one file, change two files, change 3-4+ files and thread a policy keyword around and suffer the sight of the babel tower which our backend interfaces and backend test infrastructure is.



Modified: pypy/dist/pypy/rpython/test/test_rpbc.py
==============================================================================
--- pypy/dist/pypy/rpython/test/test_rpbc.py	(original)
+++ pypy/dist/pypy/rpython/test/test_rpbc.py	Tue Feb 13 15:23:34 2007
@@ -1543,6 +1543,16 @@
         assert self.ll_to_string(item0) == "hello"
         assert item1 == 623
 
+class TestLLtype(BaseTestRPBC, LLRtypeMixin):
+    pass
+
+class TestOOtype(BaseTestRPBC, OORtypeMixin):
+    pass
+
+# ____________________________________________________________
+
+class BaseTestRPBCExtra(BaseRtypingTest):
+    
     def test_folding_specialize_support(self):
 
         class S(object):
@@ -1594,11 +1604,11 @@
         assert res == 12
         res = self.interpret(f, [3, 5555], policy=p)
         assert res == 4
-        
-class TestLLtype(BaseTestRPBC, LLRtypeMixin):
+            
+class TestExtraLLtype(BaseTestRPBCExtra, LLRtypeMixin):
     pass
 
-class TestOOtype(BaseTestRPBC, OORtypeMixin):
+class TestExtraOOtype(BaseTestRPBCExtra, OORtypeMixin):
     pass
 
 # ____________________________________________________________



More information about the Pypy-commit mailing list