[pypy-commit] pypy arm-backend-2: skip test_basic tests that require floats in case the CPU doesn't support them

bivab noreply at buildbot.pypy.org
Sun Aug 5 13:07:21 CEST 2012


Author: David Schneider <david.schneider at picle.org>
Branch: arm-backend-2
Changeset: r56583:0036c018f003
Date: 2012-08-05 11:07 +0000
http://bitbucket.org/pypy/pypy/changeset/0036c018f003/

Log:	skip test_basic tests that require floats in case the CPU doesn't
	support them

diff --git a/pypy/jit/backend/arm/test/test_basic.py b/pypy/jit/backend/arm/test/test_basic.py
--- a/pypy/jit/backend/arm/test/test_basic.py
+++ b/pypy/jit/backend/arm/test/test_basic.py
@@ -43,3 +43,8 @@
 
     def test_read_timestamp(self):
         py.test.skip("The JIT on ARM does not support read_timestamp")
+
+  
+    if not CPU.supports_floats:
+        for k in ('test_float', 'test_residual_external_call'):
+            locals()[k] = lambda self: py.test.skip('requires float support')


More information about the pypy-commit mailing list