[pypy-svn] pypy default: Enable supports_floats by default also when running tests

arigo commits-noreply at bitbucket.org
Sat May 7 12:07:40 CEST 2011


Author: Armin Rigo <arigo at tunes.org>
Branch: 
Changeset: r43934:8a078727e654
Date: 2011-05-07 12:04 +0200
http://bitbucket.org/pypy/pypy/changeset/8a078727e654/

Log:	Enable supports_floats by default also when running tests with
	interp_operations(), not just meta_interp(). Caused some amount of
	troubles to find out what was going on in the sqrtsd.patch.

diff --git a/pypy/jit/metainterp/test/support.py b/pypy/jit/metainterp/test/support.py
--- a/pypy/jit/metainterp/test/support.py
+++ b/pypy/jit/metainterp/test/support.py
@@ -51,6 +51,7 @@
     cw = codewriter.CodeWriter(cpu, [FakeJitDriverSD()])
     testself.cw = cw
     policy = JitPolicy()
+    policy.set_supports_floats(True)
     policy.set_supports_longlong(supports_longlong)
     cw.find_all_graphs(policy)
     #


More information about the Pypy-commit mailing list