[pypy-commit] pypy ppc-jit-backend: Execute floating point related test only if floating point ops are supported.

hager noreply at buildbot.pypy.org
Fri Jul 22 16:57:30 CEST 2011


Author: hager <sven.hager at uni-duesseldorf.de>
Branch: ppc-jit-backend
Changeset: r45883:0423752b019b
Date: 2011-07-22 16:47 +0200
http://bitbucket.org/pypy/pypy/changeset/0423752b019b/

Log:	Execute floating point related test only if floating point ops are
	supported.

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
@@ -114,6 +114,8 @@
         assert fail.identifier == 1
 
     def test_compile_linear_float_loop(self):
+        if not self.cpu.supports_floats:
+            py.test.skip("floats not supported")
         i0 = BoxFloat()
         i1 = BoxFloat()
         operations = [


More information about the pypy-commit mailing list