[pypy-svn] r37344 - pypy/dist/pypy/jit/timeshifter/test

arigo at codespeak.net arigo at codespeak.net
Thu Jan 25 17:50:11 CET 2007


Author: arigo
Date: Thu Jan 25 17:50:09 2007
New Revision: 37344

Modified:
   pypy/dist/pypy/jit/timeshifter/test/test_portal.py
Log:
The --dump option was ignored for portal tests.


Modified: pypy/dist/pypy/jit/timeshifter/test/test_portal.py
==============================================================================
--- pypy/dist/pypy/jit/timeshifter/test/test_portal.py	(original)
+++ pypy/dist/pypy/jit/timeshifter/test/test_portal.py	Thu Jan 25 17:50:09 2007
@@ -17,6 +17,10 @@
     small = True
 
     def setup_class(cls):
+        from pypy.jit.timeshifter.test.conftest import option
+        if option.use_dump_backend:
+            from pypy.jit.codegen.dump.rgenop import RDumpGenOp
+            cls.RGenOp = RDumpGenOp
         cls._cache = {}
         cls._cache_order = []
 



More information about the Pypy-commit mailing list