[pypy-svn] pypy arm-backend-2: disable test if the backend does not support floats

bivab commits-noreply at bitbucket.org
Fri Feb 18 09:39:16 CET 2011


Author: David Schneider <david.schneider at picle.org>
Branch: arm-backend-2
Changeset: r42136:c1f3a65d5139
Date: 2011-02-17 21:05 +0100
http://bitbucket.org/pypy/pypy/changeset/c1f3a65d5139/

Log:	disable test if the backend does not support floats

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
@@ -559,6 +559,8 @@
         assert res.value == ord('a')
 
     def test_call_with_const_floats(self):
+        if not self.cpu.supports_floats:
+            py.test.skip("requires floats")
         def func(f1, f2):
             return f1 + f2
 


More information about the Pypy-commit mailing list