[pypy-commit] pypy jitframe-on-heap: skip test if floats are not supported on cpu

bivab noreply at buildbot.pypy.org
Mon Jan 28 16:07:17 CET 2013


Author: David Schneider <david.schneider at picle.org>
Branch: jitframe-on-heap
Changeset: r60615:c94896974746
Date: 2013-01-28 15:53 +0100
http://bitbucket.org/pypy/pypy/changeset/c94896974746/

Log:	skip test if floats are not supported on cpu

diff --git a/rpython/jit/backend/test/runner_test.py b/rpython/jit/backend/test/runner_test.py
--- a/rpython/jit/backend/test/runner_test.py
+++ b/rpython/jit/backend/test/runner_test.py
@@ -129,6 +129,8 @@
         assert fail.identifier == 1
 
     def test_compile_linear_float_loop(self):
+        if not self.cpu.supports_floats:
+            py.test.skip("requires floats")
         i0 = BoxFloat()
         i1 = BoxFloat()
         operations = [


More information about the pypy-commit mailing list