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)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jgriffin, Assigned: jgriffin)

References

Details

Attachments

(1 file, 1 external file)

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.
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 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 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+
(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
(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
Blocks: 1001025
mozharness patch is in production: http://hg.mozilla.org/build/mozharness/rev/9accabdd4358 :)
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.

Attachment

General

Created:
Updated:
Size: