Closed
Bug 595269
Opened 14 years ago
Closed 14 years ago
remotereftest.py assumes ./server.js instead of reftest/server.js
Categories
(Testing :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: jmaher, Assigned: jmaher)
References
Details
Attachments
(1 file)
3.18 KB,
patch
|
cmtalbert
:
review+
|
Details | Diff | Splinter Review |
in starting the webserver for remote reftests, we set the arguments to xpcshell assuming we are running from the script directory.
Instead, we need to use the SCRIPT_DIRECTORY variable and point to the appropriate paths.
here is the source:
http://mxr.mozilla.org/mozilla-central/source/layout/tools/reftest/remotereftest.py#185
and instead of:
"-f", "./" + "reftest/components/httpd.js",
"-f", "./" + "server.js"]
we should have something similar to this:
"-f", os.path.join(SCRIPT_DIRECTORY, "reftest/components/httpd.js"),
"-f", os.path.join(SCRIPT_DIRECTORY, "server.js")]
of course there might be some corner cases to take care of, but we should assume we can run tests similar to this cli:
python reftest/remotereftest.py --deviceIP=...
Assignee | ||
Comment 1•14 years ago
|
||
patch which does what the bug proposes. Tested in a few scenarios and this seems to do the trick.
Assignee: nobody → jmaher
Attachment #475101 -
Flags: review?(ctalbert)
Attachment #475101 -
Flags: review?(ctalbert) → review+
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Updated•7 years ago
|
Component: New Frameworks → General
You need to log in
before you can comment on or make changes to this bug.
Description
•