From: <pj...@us...> - 2008-10-20 00:45:02
|
Revision: 5474 http://jython.svn.sourceforge.net/jython/?rev=5474&view=rev Author: pjenvey Date: 2008-10-20 00:44:52 +0000 (Mon, 20 Oct 2008) Log Message: ----------- bump java's stack size to 768k on solaris, to fix test_cpickle there Modified Paths: -------------- trunk/jython/src/shell/jython Modified: trunk/jython/src/shell/jython =================================================================== --- trunk/jython/src/shell/jython 2008-10-19 23:30:32 UTC (rev 5473) +++ trunk/jython/src/shell/jython 2008-10-20 00:44:52 UTC (rev 5474) @@ -13,10 +13,12 @@ # ----------------------------------------------------------------------------- cygwin=false +solaris=false # ----- Identify OS we are running under -------------------------------------- case "`uname`" in - CYGWIN*) cygwin=true + CYGWIN*) cygwin=true;; + SunOS*) solaris=true;; esac # ----- Verify and set required environment variables ------------------------- @@ -81,7 +83,13 @@ # ----- Execute the requested command ----------------------------------------- -JAVA_STACK=-Xss512k # minimum requirement for test_cpickle +# stack size value determined by the minimum requirement for +# test_cpickle +if $solaris; then + JAVA_STACK=-Xss768k +else + JAVA_STACK=-Xss512k +fi # Split out any -J argument for passing to the JVM. # Scanning for args is aborted by '--'. This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |