Closed
Bug 999747
Opened 12 years ago
Closed 12 years ago
Add --browser-arg support to Gaia unit tests
Categories
(Firefox OS Graveyard :: Gaia, defect)
Firefox OS Graveyard
Gaia
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: jgriffin, Assigned: jgriffin)
References
Details
Attachments
(1 file, 1 external file)
|
1.53 KB,
patch
|
ahal
:
review+
|
Details | Diff | Splinter Review |
We want to be able to run "G" tests in TBPL with and without OOP; to do that we'll need to add support for a --browser-arg CLI.
| Assignee | ||
Comment 1•12 years ago
|
||
Attachment #8410604 -
Flags: review?(ahalberstadt)
| Assignee | ||
Comment 2•12 years ago
|
||
These options are used by other Gaia tests as well, but --browser-arg will be a no-op there until I update their runners.
Attachment #8410610 -
Flags: review?(ahalberstadt)
Comment 3•12 years ago
|
||
Comment on attachment 8410610 [details] [diff] [review]
Add --browser-arg support to gaia-unit mozharness script,
Review of attachment 8410610 [details] [diff] [review]:
-----------------------------------------------------------------
::: scripts/gaia_unit.py
@@ +41,5 @@
> 'profile-debug')))
> cmd.extend(self._build_arg('--symbols-path', self.symbols_path))
>
> + if self.config.get('browser_arg'):
> + cmd.extend(self._build_arg('--browser-arg'), self.config['browser_arg'])
nit: these two lines can just be:
cmd.extend(self._build_arg('--browser-arg'), self.config.get('browser_arg'))
Attachment #8410610 -
Flags: review?(ahalberstadt) → review+
Comment 4•12 years ago
|
||
Comment on attachment 8410604 [details] [review]
Link to Github pull-request: https://github.com/mozilla-b2g/gaia/pull/18549
Looks good, though I have a suggestion inline with the commit.
Attachment #8410604 -
Flags: review?(ahalberstadt) → review+
| Assignee | ||
Comment 5•12 years ago
|
||
(In reply to Andrew Halberstadt [:ahal] from comment #4)
> Comment on attachment 8410604 [details] [review]
> Link to Github pull-request: https://github.com/mozilla-b2g/gaia/pull/18549
>
> Looks good, though I have a suggestion inline with the commit.
Addressed comments and landed as https://github.com/mozilla-b2g/gaia/commit/5172dc8f50709dbae768f1c44dfeac538e13a1f6
| Assignee | ||
Comment 6•12 years ago
|
||
(In reply to Andrew Halberstadt [:ahal] from comment #3)
> Comment on attachment 8410610 [details] [diff] [review]
> Add --browser-arg support to gaia-unit mozharness script,
>
> nit: these two lines can just be:
> cmd.extend(self._build_arg('--browser-arg'), self.config.get('browser_arg'))
Changed, and pushed: https://hg.mozilla.org/build/mozharness/rev/da14cbfcfdab
Comment 7•12 years ago
|
||
mozharness patch is in production: http://hg.mozilla.org/build/mozharness/rev/9accabdd4358 :)
| Assignee | ||
Updated•12 years ago
|
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•