Opened 13 years ago

Closed 12 years ago

#9104 closed enhancement (fixed)

Adding a "dohBase" argument to the DOH test runner

Reported by: dalmaer Owned by: alex
Priority: low Milestone: 1.4
Component: TestFramework Version: 1.3.0
Keywords: doh Cc:
Blocked By: Blocking:


We are running our tests from a top level directory and instead of chdir'ing in, we want to run the running from up there a la:

java -jar frontend/js/util/shrinksafe/js.jar frontend/js/util/doh/runner.js dojoUrl=frontend/js/dojo/dojo.js testUrl=frontend/tests/unit/util.js testModule=tests.unit.util dohBase=frontend/js/util/doh/

I tweaked the runner.js like this:

- 034d1033 < load("_rhinoRunner.js"); 1042a1042,1044

if(tp[0] == "dohBase"){

dohBase = tp[1];



var rhinoRunner = (typeof dohBase == "string" ? dohBase : "") + "_rhinoRunner.js"; load(dohBase + "_rhinoRunner.js");



Attachments (1)

dohbase.diff (213 bytes) - added by dalmaer 13 years ago.
DOH diff

Download all attachments as: .zip

Change History (3)

Changed 13 years ago by dalmaer

Attachment: dohbase.diff added

DOH diff

comment:1 Changed 12 years ago by James Burke

Milestone: tbdfuture

comment:2 Changed 12 years ago by James Burke

Milestone: future1.4
Resolution: fixed
Status: newclosed

Fixed in [20389]

Note: See TracTickets for help on using tickets.