Closed
Bug 575863
Opened 14 years ago
Closed 14 years ago
mozmill should be able to make use of firefox-bin, not just firefox
Categories
(Testing :: Mozbase, defect)
Testing
Mozbase
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: k0scist, Assigned: k0scist)
Details
(Whiteboard: [mozmill-2.0+])
Attachments
(4 files)
825 bytes,
patch
|
harth
:
review+
|
Details | Diff | Splinter Review |
831 bytes,
patch
|
harth
:
review+
|
Details | Diff | Splinter Review |
1.32 KB,
patch
|
Details | Diff | Splinter Review | |
826 bytes,
patch
|
ahal
:
review+
|
Details | Diff | Splinter Review |
currently, running mozmill with -b /path/to/firefox-bin does not work. It needs the library path set:
os.environ['LD_LIBRARY_PATH'] = os.path.abspath(os.path.dirname(<binary>))
Comment 1•14 years ago
|
||
Same applies to OS X too, where firefox-bin is the executable specified in the plist file of the app bundle.
OS: Linux → All
Hardware: x86 → All
Assignee | ||
Updated•14 years ago
|
Component: Mozmill → MozRunner
QA Contact: mozmill → mozrunner
Assignee | ||
Comment 2•14 years ago
|
||
This is actually a mozrunner issue. Tagging as such.
Assignee | ||
Comment 3•14 years ago
|
||
this works for the 1.5.1 hotfix branch; still needs to be ported to master
Attachment #474745 -
Flags: review?
Assignee | ||
Updated•14 years ago
|
Assignee: nobody → jhammel
Assignee | ||
Updated•14 years ago
|
Attachment #474745 -
Flags: review? → review?(fayearthur+bugs)
Comment 4•14 years ago
|
||
Comment on attachment 474745 [details] [diff] [review]
patch for hotfix 1.5.1
looks good.
Attachment #474745 -
Flags: review?(fayearthur+bugs) → review+
Assignee | ||
Comment 5•14 years ago
|
||
patch for the master
Attachment #474909 -
Flags: review?(fayearthur+bugs)
Comment 6•14 years ago
|
||
Comment on attachment 474909 [details] [diff] [review]
patch for mozauto master
looks good, land it.
Attachment #474909 -
Flags: review?(fayearthur+bugs) → review+
Assignee | ||
Comment 7•14 years ago
|
||
(In reply to comment #6)
> Comment on attachment 474909 [details] [diff] [review]
> patch for mozauto master
>
> looks good, land it.
Landed: http://github.com/mozautomation/mozmill/commit/63c0dcf1df45add5be3f43eda4fdd847270b36e9
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 8•14 years ago
|
||
This code has somehow disappeared. It should be not-disappeared
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Whiteboard: [mozmill-2.0+]
Comment 9•14 years ago
|
||
This additional fix is needed for when an env argument is passed into the Runner object.
The basic issue is that when the env is passed in that is what actually gets passed to the command to run the executable - setting LD_LIBRARY_PATH in os.environ doesn't have any effect.
This is fine in the env=None case because the code to set self.env copies the os.environ where LD_LIBRARY_PATH was just set.
We're currently deploying this patch against the mozrunner 2.5.2 builds manually (not sure if that's the latest).
Assignee | ||
Comment 10•14 years ago
|
||
Attachment #519542 -
Flags: review?(ahalberstadt)
Comment 11•14 years ago
|
||
Comment on attachment 519542 [details] [diff] [review]
reinsert patch with fixes
wfm, r+
Are we not doing this on Mac because of design decision, technical reason or lack of knowledge?
Attachment #519542 -
Flags: review?(ahalberstadt) → review+
Assignee | ||
Comment 12•14 years ago
|
||
Its unnecessary on mac; the constraints are completely different (i.e. having an awful .dmg file that you do something awful to)
Assignee | ||
Comment 13•14 years ago
|
||
pushed to master: https://github.com/mozautomation/mozmill/commit/e29dff448f4e5144c4159b3156eb56eeda24cc0a
Status: REOPENED → RESOLVED
Closed: 14 years ago → 14 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•