|
Revision 11637, 0.5 kB
(checked in by peller, 12 months ago)
|
|
Pass command line arguments into runner closure. Thanks, Jordi. Fixes #5097
|
-
Property svn:eol-style set to
native
|
| Line | |
|---|
| 1 | DOH may be run standalone by issuing a command like the following: |
|---|
| 2 | |
|---|
| 3 | java -jar ../shrinksafe/custom_rhino.jar runner.js testModule=tests.colors |
|---|
| 4 | |
|---|
| 5 | where the testModule argument is optional and custom_rhino.jar is just a |
|---|
| 6 | convenient copy of the Rhino JavaScript engine -- the custom patch is not |
|---|
| 7 | required. |
|---|
| 8 | |
|---|
| 9 | Optional arguments include: |
|---|
| 10 | * dojoUrl - specifies the location of dojo.js |
|---|
| 11 | * testUrl - specifies a Javascript file to load with initialization code |
|---|
| 12 | * testModule - specifies a test module in the dojo package namespace |
|---|