[pypy-svn] r61783 - pypy/branch/oo-jit/pypy/jit/codegen/cli/test
antocuni at codespeak.net
antocuni at codespeak.net
Thu Feb 12 15:13:09 CET 2009
Author: antocuni
Date: Thu Feb 12 15:13:08 2009
New Revision: 61783
Modified:
pypy/branch/oo-jit/pypy/jit/codegen/cli/test/test_rgenop.py
Log:
add support for unary raisinops
Modified: pypy/branch/oo-jit/pypy/jit/codegen/cli/test/test_rgenop.py
==============================================================================
--- pypy/branch/oo-jit/pypy/jit/codegen/cli/test/test_rgenop.py (original)
+++ pypy/branch/oo-jit/pypy/jit/codegen/cli/test/test_rgenop.py Thu Feb 12 15:13:08 2009
@@ -70,10 +70,16 @@
py.test.skip('mono 2.2 crashes')
def test_ovfcheck1_direct(self):
- py.test.skip('fixme')
+ import sys
+ # XXX: this test is partly copied from rgenop_tests, because
+ # int_abs_ovf is not yet supported. Delete this method as soon as it
+ # is
+ yield self.ovfcheck1_direct, "int_neg_ovf", [(18, -18),
+ (-18, 18),
+ (sys.maxint, -sys.maxint),
+ (-sys.maxint, sys.maxint),
+ (-sys.maxint-1, None)]
- def test_ovfcheck2_direct(self):
- py.test.skip('fixme')
def test_cast_direct(self):
py.test.skip('fixme')
@@ -136,6 +142,3 @@
def test_genconst_from_frame_float_var_compile(self):
py.test.skip('fixme: add support for frames')
-
- def test_ovfcheck1_compile(self):
- py.test.skip('fixme')
More information about the Pypy-commit
mailing list