Opened 12 years ago
Closed 11 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: |
Description
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];
}
1053a1056,1059
var rhinoRunner = (typeof dohBase == "string" ? dohBase : "") + "_rhinoRunner.js"; load(dohBase + "_rhinoRunner.js");
Cheers,
Dion
Attachments (1)
Change History (3)
Changed 12 years ago by
Attachment: | dohbase.diff added |
---|
comment:1 Changed 11 years ago by
Milestone: | tbd → future |
---|
comment:2 Changed 11 years ago by
Milestone: | future → 1.4 |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Fixed in [20389]
DOH diff