Author: hager <[email protected]>
Branch: ppc-jit-backend
Changeset: r48517:b6e8bd8c4973
Date: 2011-10-27 12:08 +0200
http://bitbucket.org/pypy/pypy/changeset/b6e8bd8c4973/

Log:    Skip test_array_of_structs if floats are not 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
@@ -991,6 +991,8 @@
         assert r.value == 7441
 
     def test_array_of_structs(self):
+        if not self.cpu.supports_floats:
+            py.test.skip("floats are not supported")
         TP = lltype.GcStruct('x')
         ITEM = lltype.Struct('x',
                              ('vs', lltype.Signed),
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to