Closed
Bug 791033
Opened 12 years ago
Closed 12 years ago
Marionette shouldn't log TEST-UNEXPECTED-FAIL for expected failures
Categories
(Remote Protocol :: Marionette, defect)
Remote Protocol
Marionette
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla18
People
(Reporter: jgriffin, Assigned: jgriffin)
References
Details
Attachments
(1 file)
(deleted),
patch
|
mdas
:
review+
|
Details | Diff | Splinter Review |
Marionette has a number of tests with expected failures. Currently, the failures in these tests are logged with TEST-UNEXPECTED-FAIL, which is misleading and gets picked up by TBPL as a real failure.
Assignee | ||
Comment 1•12 years ago
|
||
posted to try: https://tbpl.mozilla.org/?tree=Try&rev=0725231f95b6
Assignee | ||
Comment 2•12 years ago
|
||
Try run shows this patch solves this problem.
Assignee | ||
Comment 3•12 years ago
|
||
Comment on attachment 661372 [details] [diff] [review]
Allow tests to provide custom pass/fail strings for is/isnot/ok assertions
I don't love this approach but can't think of a better way to handle it. This basically allows a test to define its own status strings for pass/fail.
Attachment #661372 -
Flags: review?(mdas)
Comment 4•12 years ago
|
||
Try run for 0725231f95b6 is complete.
Detailed breakdown of the results available here:
https://tbpl.mozilla.org/?tree=Try&rev=0725231f95b6
Results (out of 2 total builds):
success: 2
Builds (or logs if builds failed) available at:
http://ftp.mozilla.org/pub/mozilla.org/firefox/try-builds/jgriffin@mozilla.com-0725231f95b6
Comment 5•12 years ago
|
||
Comment on attachment 661372 [details] [diff] [review]
Allow tests to provide custom pass/fail strings for is/isnot/ok assertions
Review of attachment 661372 [details] [diff] [review]:
-----------------------------------------------------------------
Yeah, I'm not 100% happy with this either, but I can't think of a nicer way of doing it. If there isn't any other purpose to passing in your own logging lines than these expected-failures, perhaps we can add a function to toggle logging on and off, and log what we want for these particular tests, but I'm not sure that's any nicer.
Attachment #661372 -
Flags: review?(mdas) → review+
Assignee | ||
Comment 6•12 years ago
|
||
(In reply to Malini Das [:mdas] from comment #5)
perhaps we can add a function to toggle
> logging on and off, and log what we want for these particular tests, but I'm
> not sure that's any nicer.
Yeah, I'm not sure either. I landed the existing patch as https://hg.mozilla.org/integration/mozilla-inbound/rev/1b9df2fa85a9
Assignee: nobody → jgriffin
Target Milestone: --- → mozilla18
Comment 7•12 years ago
|
||
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Updated•2 years ago
|
Product: Testing → Remote Protocol
You need to log in
before you can comment on or make changes to this bug.
Description
•