Closed
Bug 1065994
Opened 10 years ago
Closed 10 years ago
[mozrunner] Unit tests for a real binary are failing a lot
Categories
(Testing :: Mozbase, defect)
Testing
Mozbase
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla35
People
(Reporter: whimboo, Assigned: ahal)
References
(Blocks 1 open bug)
Details
(Keywords: regression)
Attachments
(1 file)
1.00 KB,
patch
|
whimboo
:
review+
|
Details | Diff | Splinter Review |
This is a regression and maybe related to the large refactoring Andrew did for mozrunner a while ago. I will do a regression test in a bit. The tests are all failing with the same traceback: Traceback (most recent call last): File "/mozilla/code/firefox/inbound/testing/mozbase/mozrunner/tests/mozrunnertest.py", line 21, in setUp self.runner = mozrunner.FirefoxRunner(self.profile) File "/mozilla/code/firefox/inbound/testing/mozbase/mozrunner/mozrunner/runners.py", line 47, in FirefoxRunner return GeckoRuntimeRunner(*args, **kwargs) File "/mozilla/code/firefox/inbound/testing/mozbase/mozrunner/mozrunner/base/browser.py", line 31, in __init__ if sys.platform == 'linux2' and self.binary.endswith('-bin'): AttributeError: 'FirefoxProfile' object has no attribute 'endswith' Those failures will actually block us from getting those real binary tests enabled on TBPL.
Reporter | ||
Comment 1•10 years ago
|
||
It's indeed a regression from the refactoring from Andrew as done on bug 997244. Andrew, can you get this fixed?
Blocks: 997244
Assignee | ||
Comment 2•10 years ago
|
||
I'll look into it.
Assignee: nobody → ahalberstadt
Status: NEW → ASSIGNED
Assignee | ||
Comment 3•10 years ago
|
||
This got them all passing on my system.
Attachment #8487882 -
Flags: review?(hskupin)
Reporter | ||
Comment 4•10 years ago
|
||
Comment on attachment 8487882 [details] [diff] [review] fix_mozrunner_tests Review of attachment 8487882 [details] [diff] [review]: ----------------------------------------------------------------- Works fine for me! Thanks for the quick fix.
Attachment #8487882 -
Flags: review?(hskupin) → review+
Assignee | ||
Comment 5•10 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/e7695039b761
Comment 6•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/e7695039b761
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla35
You need to log in
before you can comment on or make changes to this bug.
Description
•