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)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: k0scist, Assigned: k0scist)

Details

(Whiteboard: [mozmill-2.0+])

Attachments

(4 files)

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>))
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
Component: Mozmill → MozRunner
QA Contact: mozmill → mozrunner
This is actually a mozrunner issue. Tagging as such.
this works for the 1.5.1 hotfix branch; still needs to be ported to master
Attachment #474745 - Flags: review?
Assignee: nobody → jhammel
Attachment #474745 - Flags: review? → review?(fayearthur+bugs)
Comment on attachment 474745 [details] [diff] [review] patch for hotfix 1.5.1 looks good.
Attachment #474745 - Flags: review?(fayearthur+bugs) → review+
patch for the master
Attachment #474909 - Flags: review?(fayearthur+bugs)
Comment on attachment 474909 [details] [diff] [review] patch for mozauto master looks good, land it.
Attachment #474909 - Flags: review?(fayearthur+bugs) → review+
(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
This code has somehow disappeared. It should be not-disappeared
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Whiteboard: [mozmill-2.0+]
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).
Attachment #519542 - Flags: review?(ahalberstadt)
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+
Its unnecessary on mac; the constraints are completely different (i.e. having an awful .dmg file that you do something awful to)
Status: REOPENED → RESOLVED
Closed: 14 years ago14 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: