[pypy-commit] pypy arm-backend-2: add float support check

bivab noreply at buildbot.pypy.org
Sun Jul 22 13:20:12 CEST 2012


Author: David Schneider <david.schneider at picle.org>
Branch: arm-backend-2
Changeset: r56388:b35842762bdc
Date: 2012-07-22 11:18 +0000
http://bitbucket.org/pypy/pypy/changeset/b35842762bdc/

Log:	add float support check

diff --git a/pypy/jit/backend/test/runner_test.py b/pypy/jit/backend/test/runner_test.py
--- a/pypy/jit/backend/test/runner_test.py
+++ b/pypy/jit/backend/test/runner_test.py
@@ -1858,6 +1858,8 @@
         assert res == -19
 
     def test_convert_float_bytes(self):
+        if not self.cpu.supports_floats:
+            py.test.skip("requires floats")
         t = 'int' if longlong.is_64_bit else 'float'
         res = self.execute_operation(rop.CONVERT_FLOAT_BYTES_TO_LONGLONG,
                                      [boxfloat(2.5)], t).value


More information about the pypy-commit mailing list