[pypy-svn] r73739 - pypy/trunk/pypy/translator/jvm

fijal at codespeak.net fijal at codespeak.net
Wed Apr 14 16:59:10 CEST 2010


Author: fijal
Date: Wed Apr 14 16:59:08 2010
New Revision: 73739

Modified:
   pypy/trunk/pypy/translator/jvm/conftest.py
Log:
skip jvm tests on 64bit


Modified: pypy/trunk/pypy/translator/jvm/conftest.py
==============================================================================
--- pypy/trunk/pypy/translator/jvm/conftest.py	(original)
+++ pypy/trunk/pypy/translator/jvm/conftest.py	Wed Apr 14 16:59:08 2010
@@ -1,4 +1,12 @@
 
+import py, sys
+
+class Module(py.test.collect.Module):
+    def collect(self):
+        if sys.maxint > 2147483647: # 64bit platform
+            py.test.skip("jvm backend on 64bit unsupported")
+        return super(Module, self).collect()
+
 def pytest_addoption(parser):
     group = parser.getgroup("pypy-jvm options")
     group.addoption('--java', action='store', dest='java', default='java',



More information about the Pypy-commit mailing list