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

antocuni at codespeak.net antocuni at codespeak.net
Sat Jul 4 16:16:08 CEST 2009


Author: antocuni
Date: Sat Jul  4 16:16:08 2009
New Revision: 66120

Modified:
   pypy/trunk/pypy/translator/jvm/genjvm.py
Log:
(yole, antocuni around)
fix jvm tests on windows. It seems we never run them there :-(



Modified: pypy/trunk/pypy/translator/jvm/genjvm.py
==============================================================================
--- pypy/trunk/pypy/translator/jvm/genjvm.py	(original)
+++ pypy/trunk/pypy/translator/jvm/genjvm.py	Sat Jul  4 16:16:08 2009
@@ -3,6 +3,7 @@
 """
 
 import sys
+import os
 
 import py
 from py.compat import subprocess
@@ -197,7 +198,7 @@
         cmd = [getoption('java'),
                '-Xmx256M', # increase the heapsize so the microbenchmarks run
                '-cp',
-               str(self.javadir)+":"+str(self.jnajar),
+               str(self.javadir)+os.pathsep+str(self.jnajar),
                self.package+".Main"] + strargs
         print "Invoking java to run the code"
         stdout, stderr, retval = self._invoke(cmd, True)



More information about the Pypy-commit mailing list