[pypy-svn] pypy jit-longlong: Skip this on 64-bit platforms.

arigo commits-noreply at bitbucket.org
Sun Jan 9 18:29:44 CET 2011


Author: Armin Rigo <arigo at tunes.org>
Branch: jit-longlong
Changeset: r40533:29a3a3846cb1
Date: 2011-01-09 18:26 +0100
http://bitbucket.org/pypy/pypy/changeset/29a3a3846cb1/

Log:	Skip this on 64-bit platforms.

diff --git a/pypy/jit/metainterp/test/test_longlong.py b/pypy/jit/metainterp/test/test_longlong.py
--- a/pypy/jit/metainterp/test/test_longlong.py
+++ b/pypy/jit/metainterp/test/test_longlong.py
@@ -1,3 +1,4 @@
+import py, sys
 from pypy.rlib.rarithmetic import r_longlong, r_ulonglong, r_uint, intmask
 from pypy.jit.metainterp.test.test_basic import LLJitMixin
 
@@ -13,6 +14,9 @@
 
 
 class LongLongTests:
+    def setup_class(cls):
+        if sys.maxint > 2147483647:
+            py.test.skip("only for 32-bit platforms")
 
     def test_long_long_1(self):
         def g(n, m, o, p):


More information about the Pypy-commit mailing list