Closed
Bug 999723
Opened 11 years ago
Closed 11 years ago
Add --browser-arg to B2G desktop mozharness script
Categories
(Release Engineering :: Applications: MozharnessCore, defect)
Release Engineering
Applications: MozharnessCore
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: jgriffin, Assigned: jgriffin)
References
Details
Attachments
(2 files, 1 obsolete file)
3.12 KB,
patch
|
ahal
:
review+
jgriffin
:
checked-in+
|
Details | Diff | Splinter Review |
2.10 KB,
patch
|
ahal
:
review+
|
Details | Diff | Splinter Review |
We should add support for the --browser-arg mochitest CLI to the mozharness script for B2G desktop mochitests. We can use this to pass -oop to the build to get it to start in OOP mode, once bug 998500 lands.
I've already tested that the B2G mochitest framework correctly handles --browser-arg for B2G desktop tests.
Assignee | ||
Comment 1•11 years ago
|
||
Attachment #8410567 -
Flags: review?(ahalberstadt)
Assignee | ||
Comment 2•11 years ago
|
||
Hmm, looks like I'll need to add support for --browser-arg to reftests.
Assignee | ||
Comment 3•11 years ago
|
||
I'll also need to handle this in our Gaia mozharness files. Patch in progress.
Attachment #8410579 -
Flags: review?(ahalberstadt)
Assignee | ||
Comment 4•11 years ago
|
||
New version which includes Marionette support
Attachment #8410593 -
Flags: review?(ahalberstadt)
Assignee | ||
Updated•11 years ago
|
Attachment #8410567 -
Attachment is obsolete: true
Attachment #8410567 -
Flags: review?(ahalberstadt)
Comment 5•11 years ago
|
||
Comment on attachment 8410579 [details] [diff] [review]
Add --browser-arg support to mochitest/reftest on B2G desktop builds,
Review of attachment 8410579 [details] [diff] [review]:
-----------------------------------------------------------------
Lgtm!
Attachment #8410579 -
Flags: review?(ahalberstadt) → review+
Comment 6•11 years ago
|
||
Comment on attachment 8410593 [details] [diff] [review]
Add browser-arg support to B2G desktop scripts,
Review of attachment 8410593 [details] [diff] [review]:
-----------------------------------------------------------------
Lgtm, with minor nit.
::: scripts/marionette.py
@@ +435,5 @@
> cmd.extend(self._build_arg('--binary', binary))
> cmd.extend(self._build_arg('--address',
> self.config['marionette_address']))
> + if self.config.get('app_arg'):
> + cmd.extend(self._build_arg('--app-arg', self.config['app_arg']))
_build_arg() handles the case where the value is None, so you can get rid of this if statement and s/config['app_arg']/config.get('app_arg')
Attachment #8410593 -
Flags: review?(ahalberstadt) → review+
Assignee | ||
Comment 7•11 years ago
|
||
Comment on attachment 8410579 [details] [diff] [review]
Add --browser-arg support to mochitest/reftest on B2G desktop builds,
Removed the _build_arg() call and landed the mozharness piece: https://hg.mozilla.org/build/mozharness/rev/77c9ccf077b0
Attachment #8410579 -
Flags: checked-in+
Comment 8•11 years ago
|
||
mozharness patch live in production: http://hg.mozilla.org/build/mozharness/rev/d5a7c46032fe :)
Assignee | ||
Comment 9•11 years ago
|
||
Comment 10•11 years ago
|
||
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Updated•11 years ago
|
Component: General Automation → Mozharness
You need to log in
before you can comment on or make changes to this bug.
Description
•