[pypy-svn] r51268 - pypy/branch/jit-refactoring/pypy/jit/rainbow/test

cfbolz at codespeak.net cfbolz at codespeak.net
Mon Feb 4 21:35:07 CET 2008


Author: cfbolz
Date: Mon Feb  4 21:35:06 2008
New Revision: 51268

Modified:
   pypy/branch/jit-refactoring/pypy/jit/rainbow/test/test_interpreter.py
Log:
this one passes out of the box


Modified: pypy/branch/jit-refactoring/pypy/jit/rainbow/test/test_interpreter.py
==============================================================================
--- pypy/branch/jit-refactoring/pypy/jit/rainbow/test/test_interpreter.py	(original)
+++ pypy/branch/jit-refactoring/pypy/jit/rainbow/test/test_interpreter.py	Mon Feb  4 21:35:06 2008
@@ -868,7 +868,6 @@
 
 
     def test_merge_structures(self):
-        py.test.skip("arrays and structs are not working")
         S = lltype.GcStruct('S', ('n', lltype.Signed))
         T = lltype.GcStruct('T', ('s', lltype.Ptr(S)), ('n', lltype.Signed))
 
@@ -886,10 +885,10 @@
                 t.s = s
                 t.n = 6
             return t.n + t.s.n
-        res = self.interpret(ll_function, [0], [], policy=P_NOVIRTUAL)
+        res = self.interpret(ll_function, [0], [])
         assert res == 5 + 6
         self.check_insns({'int_is_true': 1, 'int_add': 1})
-        res = self.interpret(ll_function, [1], [], policy=P_NOVIRTUAL)
+        res = self.interpret(ll_function, [1], [])
         assert res == 1 + 2
         self.check_insns({'int_is_true': 1, 'int_add': 1})
 



More information about the Pypy-commit mailing list