[pypy-svn] pypy default: Skip if floats not supported.
arigo
commits-noreply at bitbucket.org
Fri Jan 14 18:27:40 CET 2011
Author: Armin Rigo <arigo at tunes.org>
Branch:
Changeset: r40694:296f07878faa
Date: 2011-01-14 18:15 +0100
http://bitbucket.org/pypy/pypy/changeset/296f07878faa/
Log: Skip if floats 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
@@ -1068,6 +1068,8 @@
assert self.cpu.get_latest_value_float(i) == 13.5 + 6.73 * i
def test_floats_and_guards(self):
+ if not self.cpu.supports_floats:
+ py.test.skip("requires floats")
for opname, compare in [
(rop.FLOAT_LT, lambda x, y: x < y),
(rop.FLOAT_LE, lambda x, y: x <= y),
More information about the Pypy-commit
mailing list