Closed Bug 889439 Opened 11 years ago Closed 11 years ago

XML report generation fails when results tuple contains more than two items

Categories

(Remote Protocol :: Marionette, defect)

x86
macOS
defect
Not set
normal

Tracking

(firefox23 wontfix, firefox24 wontfix, firefox25 fixed, b2g18 fixed, b2g18-v1.0.0 wontfix, b2g18-v1.0.1 wontfix, b2g-v1.1hd fixed)

RESOLVED FIXED
mozilla25
Tracking Status
firefox23 --- wontfix
firefox24 --- wontfix
firefox25 --- fixed
b2g18 --- fixed
b2g18-v1.0.0 --- wontfix
b2g18-v1.0.1 --- wontfix
b2g-v1.1hd --- fixed

People

(Reporter: davehunt, Assigned: davehunt)

References

Details

Attachments

(1 file)

In bug 879683 we allowed subclasses of MarionetteTestResult to write additional information to the results tuple. In practice, doing this causes the XML report generation to fail as this is expecting just two items in the tuple (the test name, and the result text).

We will be fixing this properly in bug 879900, but we should fix this in the meantime to unblock the generation of a HTML report in the Gaia test runner.
Comment on attachment 770268 [details] [diff] [review]
Only use the first two items from the results tuple. v1.0

Review of attachment 770268 [details] [diff] [review]:
-----------------------------------------------------------------

Good enough for now!
Attachment #770268 - Flags: review?(jgriffin) → review+
Blocks: 889469
https://hg.mozilla.org/mozilla-central/rev/f472b2101d58
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla25
Product: Testing → Remote Protocol
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: