From: <otm...@us...> - 2010-05-31 04:36:50
|
Revision: 7059 http://jython.svn.sourceforge.net/jython/?rev=7059&view=rev Author: otmarhumbel Date: 2010-05-31 04:36:44 +0000 (Mon, 31 May 2010) Log Message: ----------- for the build bot, try to specify a real java home Modified Paths: -------------- trunk/jython/Lib/test/test_bat_jy.py Modified: trunk/jython/Lib/test/test_bat_jy.py =================================================================== --- trunk/jython/Lib/test/test_bat_jy.py 2010-05-25 05:40:14 UTC (rev 7058) +++ trunk/jython/Lib/test/test_bat_jy.py 2010-05-31 04:36:44 UTC (rev 7059) @@ -9,6 +9,7 @@ from java.lang import IllegalThreadStateException from java.lang import Runtime +from java.lang import System from java.lang import Thread from java.io import File from java.io import BufferedReader; @@ -210,7 +211,9 @@ class JavaHomeTest(BaseTest): def test_unquoted(self): - self.assertOutput(javaHome='C:\\Program Files\\Java\\someJava') + # for the build bot, try to specify a real java home + javaHome = System.getProperty('java.home', 'C:\\Program Files\\Java\\someJava') + self.assertOutput(javaHome=javaHome) def test_quoted(self): self.assertOutput(javaHome=self.quote('C:\\Program Files\\Java\\someJava')) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |