Closed
Bug 837068
Opened 13 years ago
Closed 13 years ago
marionette runtests.py not working with "--profile" option
Categories
(Remote Protocol :: Marionette, defect)
Tracking
(firefox22 fixed, b2g18 fixed, b2g18-v1.0.0 wontfix, b2g18-v1.0.1 fixed)
RESOLVED
FIXED
mozilla22
People
(Reporter: olivier.morandi, Assigned: olivier.morandi)
Details
Attachments
(1 file)
|
928 bytes,
patch
|
automatedtester
:
review+
|
Details | Diff | Splinter Review |
Executing Firefox marionette tests (from mozilla-central/testing/marionette/client/marionette)
python runtests.py --binary=/path/to/firefox-bin --profile=/path/to/custom-profile tests
produces the following exception:
Traceback (most recent call last):
File "runtests.py", line 716, in <module>
cli()
File "runtests.py", line 711, in cli
runner = startTestRunner(runner_class, options, tests)
File "runtests.py", line 706, in startTestRunner
runner.run_tests(tests, testtype=options.type)
File "runtests.py", line 349, in run_tests
self.run_test(test, testtype)
File "runtests.py", line 380, in run_test
self.start_marionette()
File "runtests.py", line 275, in start_marionette
baseurl=self.baseurl)
File "/Users/olivier/Code/mozilla/marionette/marionette/marionette.py", line 120, in __init__
self.instance.start()
File "/Users/olivier/Code/mozilla/marionette/marionette/geckoinstance.py", line 28, in start
self.runner = Runner.create(binary=self.bin, profile_args=profile, cmdargs=['-no-remote'])
File "/usr/local/Cellar/python/2.7.2/lib/python2.7/site-packages/mozrunner-5.2-py2.7.egg/mozrunner/runner.py", line 69, in create
profile = cls.profile_class(**(profile_args or {}))
TypeError: type object argument after ** must be a mapping, not str
| Assignee | ||
Comment 1•13 years ago
|
||
Attachment #708993 -
Flags: review?(dburns)
Comment 2•13 years ago
|
||
Comment on attachment 708993 [details] [diff] [review]
Fix for profile argument in geckoinstance.py
Sorry for taking so long with this. This change looks good.
Can you land this or would you like me to?
Attachment #708993 -
Flags: review?(dburns) → review+
| Assignee | ||
Comment 3•13 years ago
|
||
Thanks for the review. Could you help me with the process of getting this into the tree?
Comment 4•13 years ago
|
||
Comment 5•13 years ago
|
||
Assignee: nobody → olivier.morandi
Status: UNCONFIRMED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla22
Comment 6•13 years ago
|
||
status-b2g18:
--- → fixed
Comment 7•13 years ago
|
||
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
•