[pypy-commit] pypy default: Add cast_int_to_float in this test. Passes

arigo noreply at buildbot.pypy.org
Wed Sep 9 10:14:03 CEST 2015


Author: Armin Rigo <arigo at tunes.org>
Branch: 
Changeset: r79556:c7ce70d5b4a1
Date: 2015-09-09 10:14 +0200
http://bitbucket.org/pypy/pypy/changeset/c7ce70d5b4a1/

Log:	Add cast_int_to_float in this test. Passes

diff --git a/rpython/jit/backend/llsupport/test/ztranslation_test.py b/rpython/jit/backend/llsupport/test/ztranslation_test.py
--- a/rpython/jit/backend/llsupport/test/ztranslation_test.py
+++ b/rpython/jit/backend/llsupport/test/ztranslation_test.py
@@ -26,6 +26,7 @@
         # - profiler
         # - full optimizer
         # - floats neg and abs
+        # - cast_int_to_float
         # - llexternal with macro=True
 
         class BasicFrame(object):
@@ -69,6 +70,7 @@
                 frame.i -= 1
                 j *= -0.712
                 if j + (-j):    raise ValueError
+                j += frame.i
                 k = myabs1(myabs2(j))
                 if k - abs(j):  raise ValueError
                 if k - abs(-j): raise ValueError


More information about the pypy-commit mailing list