it seems rhino has a console object wit a different API?
ant lzunit in legals yields:
[exec] js: "lps/includes/lfc/LFCdhtml-debug.js", line 104: uncaught JavaScript runtime exception: ReferenceError: "console" is not defined.
[exec] js: "tmp/test_lztest_lztest-align.js", line 54: uncaught JavaScript runtime exception: TypeError: Cannot set property "addText" of undefined to "
org.mozilla.javascript.gen.c1@dd7bc5"
[exec] FAILED a test in runlztest.sh
Ideally, external console logging would work for rhino unit tests and firebug (if installed).
Changed paths:
M /openlaszlo/branches/legals/WEB-INF/lps/lfc/compiler/LzRuntime.lzs
Change 20070411-ptw-H by ptw@dueling-banjos.local on 2007-04-11 15:09:14 EDT
in /Users/ptw/OpenLaszlo/legals-1
for http://svn.openlaszlo.org/openlaszlo/branches/legals
Summary: ant lztest failing in legals
Bugs Fixed:
LPP-3866'ant lztest failing in legals'Technical Reviewer: max (Message-ID: <461D3FD3.5080601@openlaszlo.org>)
QA Reviewer: mamye (pending)
Doc Reviewer: n/a
Details:
Be more careful testing for the existence of a console
Tests:
ant lztest