[pypy-svn] r68165 - pypy/branch/merge-floats-via-sse2/pypy/jit/backend/x86/test

fijal at codespeak.net fijal at codespeak.net
Mon Oct 5 13:22:07 CEST 2009


Author: fijal
Date: Mon Oct  5 13:22:07 2009
New Revision: 68165

Modified:
   pypy/branch/merge-floats-via-sse2/pypy/jit/backend/x86/test/test_regalloc.py
Log:
Remove outdated test


Modified: pypy/branch/merge-floats-via-sse2/pypy/jit/backend/x86/test/test_regalloc.py
==============================================================================
--- pypy/branch/merge-floats-via-sse2/pypy/jit/backend/x86/test/test_regalloc.py	(original)
+++ pypy/branch/merge-floats-via-sse2/pypy/jit/backend/x86/test/test_regalloc.py	Mon Oct  5 13:22:07 2009
@@ -515,28 +515,6 @@
         self.interpret(ops, [0.1])
         assert self.getint(0) == 0
 
-    @py.test.mark.xfail    # this test is bogus in the branch floats-via-sse2
-    def test_bug_wrong_stack_adj(self):
-        ops = '''
-        [i0, i1, i2, i3, i4, i5, i6, i7, i8]
-        guard_true(i0)
-            fail(3.5, i0, i1, i2, i3, i4, i5, i6, i7, i8)
-        fail(4.5, i0, i1, i2, i3, i4, i5, i6, i7, i8)
-        '''
-        loop = self.interpret(ops, [0, 1, 2, 3, 4, 5, 6, 7, 8])
-        assert self.getint(0) == 0
-        bridge_ops = '''
-        [i0, i1, i2, i3, i4, i5, i6, i7, i8]
-        call(ConstClass(raising_fptr), 0, descr=raising_calldescr)
-        fail(i0, i1, i2, i3, i4, i5, i6, i7, i8)
-        '''
-        self.attach_bridge(bridge_ops, loop, 0)
-        for i in range(9):
-            self.cpu.set_future_value_int(i, i)
-        self.run(loop)
-        assert self.getints(9) == range(9)
-        assert self.getfloat(0) == 3.5
-
     def test_bug_float_is_true_stack(self):
         ops = '''
         [f0, f1, f2, f3, f4, f5, f6, f7, f8, f9]



More information about the Pypy-commit mailing list