Author: ben
Date: 2007-12-18 16:45:54 -0800 (Tue, 18 Dec 2007)
New Revision: 7601
Modified:
openlaszlo/trunk/build-tools/runlztest.sh
Log:
Change 20071218-ben-i by [EMAIL PROTECTED] on 2007-12-18 11:59:46 PST
in /Users/ben/src/svn/openlaszlo/trunk
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: Turn optimization off in rhino in lztest
Bugs Fixed: Partially unbreaks ant runlzunit
Technical Reviewer: ptw
Documentation:
Rhino was dying strangely in runlzunit since r7573:
lztest:
[exec] Entering runlztest.sh with
LPS_HOME=/home/svnbuild/builds/7583-openlaszlo-trunk tags=smoketest
[exec] skipping test/lztest/lztest-textstyle.lzx, does not match tags
smoketest
[exec] covers-tags: lzview smoketest
[exec] testing test/lztest/lztest-align.lzx...........
[exec] Compiling: test/lztest/lztest-align.lzx to
test/lztest/lztest-align.js
[exec] Exception in thread "main" java.lang.ClassFormatError: Invalid
method Code length 66014 in class file org/mozilla/javascript/gen/c3
[exec] at java.lang.ClassLoader.defineClass1(Native Method)
[exec] at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
[exec] at java.lang.ClassLoader.defineClass(ClassLoader.java:465)
We traced this to an issue that rhino has with executing very
long functions. I've worked around this problem by telling rhino
not to do any optimization, with the command line parameter -opt -1.
Details:
ant runlzunit still fails, with erros in
test/lztest/lztest-node-initsequence.lzx and test/lztest/lztest-node-options.lzx
Tests:
Modified: openlaszlo/trunk/build-tools/runlztest.sh
===================================================================
--- openlaszlo/trunk/build-tools/runlztest.sh 2007-12-18 22:55:03 UTC (rev
7600)
+++ openlaszlo/trunk/build-tools/runlztest.sh 2007-12-19 00:45:54 UTC (rev
7601)
@@ -80,7 +80,7 @@
echo "if (LzTestManager.failedsuites > 0) quit(3);" >> $outfile
# load that file into rhino
- $JAVA_EXEC -jar 3rd-party/jars/custom_rhino.jar $outfile
+ $JAVA_EXEC -jar 3rd-party/jars/custom_rhino.jar -opt -1 $outfile
# Stop testing if we failed a test
if [ $? != 0 ] ; then
_______________________________________________
Laszlo-checkins mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-checkins