Closed
Bug 1252609
Opened 10 years ago
Closed 10 years ago
|mach marionette-test| ignores --binary option
Categories
(Remote Protocol :: Marionette, defect)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: sydpolk, Assigned: sydpolk)
References
Details
Attachments
(1 file)
+++ This bug was initially created as a clone of Bug #1252608 +++
+++ This bug was initially created as a clone of Bug #1252586 +++
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:44.0) Gecko/20100101 Firefox/44.0
Build ID: 20160210153822
Steps to reproduce:
Ran ./mach marionette --binary /Applications/Firefox.app/Contents/MacOS/firefox
Actual results:
Mach fails with an error,
Exception: Binary expected at path_to_obj-x86_64-apple-darwin15.3.0/dist/Nightly.app/Contents/MacOS/firefox does not exist.
Expected results:
The tests should run with the binary specified with the --binary option.
| Assignee | ||
Comment 1•10 years ago
|
||
Review commit: https://reviewboard.mozilla.org/r/37469/diff/#index_header
See other reviews: https://reviewboard.mozilla.org/r/37469/
Attachment #8725405 -
Flags: review?(gps)
Attachment #8725405 -
Flags: review?(dburns)
| Assignee | ||
Updated•10 years ago
|
Summary: |mach external-media-tests| ignores --binary option → |mach marionette-test| ignores --binary option
| Assignee | ||
Updated•10 years ago
|
Assignee: nobody → spolk
Comment 2•10 years ago
|
||
Comment on attachment 8725405 [details]
MozReview Request: Bug 1252609 - Fix |mach marionette-test --binary| - r?automatedtester, r?gps
https://reviewboard.mozilla.org/r/37469/#review34007
::: testing/marionette/mach_commands.py:124
(Diff revision 1)
> + if kwargs['binary'] is None:
Is the point of this to allow people to use firefox without having to build? There is an implicit requirement from Mach that there is a build unless gps has a way to override `is_firefox` checks
Attachment #8725405 -
Flags: review?(dburns)
| Assignee | ||
Comment 3•10 years ago
|
||
This started with firefox-ui-tests. Since firefox-ui-tests has moved into mozilla-central, it needs to be able to run with explicit --installer/--binary and --tests parameters. We decided to support that in the mach command.
You can always instantiate a virtualenv and run python setup.py develop to run marionette-test, so maybe there is no desire to be able to do this from ./mach.
Since the code for firefox-ui/mach_commands.py (and for that matter, the external-media-tests version as well), I updated all three.
Comment 4•10 years ago
|
||
Comment on attachment 8725405 [details]
MozReview Request: Bug 1252609 - Fix |mach marionette-test --binary| - r?automatedtester, r?gps
https://reviewboard.mozilla.org/r/37469/#review34047
::: testing/marionette/mach_commands.py:124
(Diff revision 1)
> + if kwargs['binary'] is None:
Same nit as bug 1252586.
It is unfortunate you had to file 3 bugs for what is essentially the same problem. This is a reason I don't like code review revolving around Bugzilla.
Attachment #8725405 -
Flags: review?(gps) → review+
Comment 5•10 years ago
|
||
(In reply to Gregory Szorc [:gps] from comment #4)
> It is unfortunate you had to file 3 bugs for what is essentially the same
> problem. This is a reason I don't like code review revolving around Bugzilla.
A single bug within the mach component might also have been ok here.
Status: NEW → ASSIGNED
| Assignee | ||
Comment 6•10 years ago
|
||
https://reviewboard.mozilla.org/r/37469/#review34007
> Is the point of this to allow people to use firefox without having to build? There is an implicit requirement from Mach that there is a build unless gps has a way to override `is_firefox` checks
Henrik adequately justified this in the Bugzilla.
Comment 7•10 years ago
|
||
And as tested with no obj dir and a mach configure step, it will work. So no need to build Firefox before.
Comment 8•10 years ago
|
||
I am happy for there to be a need for a build and for the --binary to just go between different objdirs
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → WONTFIX
| Assignee | ||
Comment 9•10 years ago
|
||
Don't we still need the fix?
Updated•3 years ago
|
Product: Testing → Remote Protocol
You need to log in
before you can comment on or make changes to this bug.
Description
•