Approved, with a few qualifications.
1- you need to 'chmod +x build-tools/findtestsbrowser.sh'
2- believe it or not, OSX includes 'awk' but not 'gawk'. I
substituted 'awk' for 'gawk' in build-tools/findtestsbrowser.sh, and
findlztestbrowser_swf7 ran without errors.
I modified WEB-INF/lps/lfc/views/LaszloView.lzs, and verified that
'ant findlztest' discovered the change.
I wasn't sure how to verify that findlztestbrowser_* was doing the
right thing, but it looks reasonable.
jim
On May 30, 2007, at 1:38 PM, Henry Minsky wrote:
Try this one
Change 20070530-hqm-b by [EMAIL PROTECTED] on 2007-05-30 16:37:14
EDT
in /cygdrive/c/users/hqm/openlaszlo/legals3
for http://svn.openlaszlo.org/openlaszlo/branches/legals
Summary: new automatic testing script
New Features:
Bugs Fixed:
Technical Reviewer: jgrandy (pending)
QA Reviewer: (pending)
Doc Reviewer: (pending)
Documentation:
Release Notes:
Details:
Tests:
Files:
D test/lztest/smoketest.txt
A test/lztest/browser.txt
A + test/lztest/rhino.txt
A test/lztest/lztest-lpp-2958.lzx
A build-tools/findtestsbrowser.sh
M build-tools/findtests.sh
M build-tools/findtests.js
M build.xml
Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20070530-
hqm-b.tar
On 5/30/07, Jim Grandy <[EMAIL PROTECTED]> wrote:
I think this is missing a file:
findlztestsbrowser-swf7:
[exec] /bin/bash: line 1: build-tools/findtestsbrowser.sh: No
such file or directory
On May 30, 2007, at 9:43 AM, Henry Minsky wrote:
See also the new wiki page explaining how to add and run tests
http://wiki.openlaszlo.org/Regression_Testing_from_ANT
Change 20070530-hqm-2 by [EMAIL PROTECTED] on 2007-05-30
12:39:23 EDT
in /cygdrive/c/users/hqm/openlaszlo/legals3
for http://svn.openlaszlo.org/openlaszlo/branches/legals
Summary: automated testing support
New Features: scan for tests which need to be run, and run in
rhino or browser
Bugs Fixed:
Technical Reviewer: jgrandy (pending)
QA Reviewer: (pending)
Doc Reviewer: (pending)
Documentation:
Release Notes:
Details:
added new targets for ant
findlztestsbrowser-swf7 and
findlztestsbrowser-dhtml
they will find tests which need to be run based on svn status, and
run them in a browser
Tests:
Files:
D test/lztest/smoketest.txt
A test/lztest/browser.txt
A + test/lztest/rhino.txt
A test/lztest/lztest-lpp-2958.lzx
M build-tools/findtests.sh
M build-tools/findtests.js
M build.xml
Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20070530-
hqm-2.tar
--
Henry Minsky
Software Architect
[EMAIL PROTECTED]
--
Henry Minsky
Software Architect
[EMAIL PROTECTED]