[pypy-svn] r64325 - pypy/trunk/pypy/translator/jvm/test

antocuni at codespeak.net antocuni at codespeak.net
Sat Apr 18 10:24:10 CEST 2009


Author: antocuni
Date: Sat Apr 18 10:24:09 2009
New Revision: 64325

Modified:
   pypy/trunk/pypy/translator/jvm/test/test_builtin.py
Log:
skip this test on wyvern, as it triggers a java bug when run without X (!!!)


Modified: pypy/trunk/pypy/translator/jvm/test/test_builtin.py
==============================================================================
--- pypy/trunk/pypy/translator/jvm/test/test_builtin.py	(original)
+++ pypy/trunk/pypy/translator/jvm/test/test_builtin.py	Sat Apr 18 10:24:09 2009
@@ -26,7 +26,13 @@
 
     def test_debug_llinterpcall(self):
         py.test.skip("so far, debug_llinterpcall is only used on lltypesystem")
-    
+
+    def test_os_access(self):
+        from socket import gethostname
+        if gethostname() == 'wyvern':
+            py.test.skip('bug in JDK when run headless: ' +
+                         'http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6539705')
+        BaseTestBuiltin.test_os_access(self)
 
 class TestJvmTime(JvmTest, BaseTestTime):
 



More information about the Pypy-commit mailing list