Closed Bug 596319 Opened 9 years ago Closed 9 years ago

Add timing for parts of tests

Categories

(Toolkit :: Add-ons Manager, defect)

defect
Not set

Tracking

()

VERIFIED FIXED
mozilla2.0b7

People

(Reporter: mossop, Assigned: mossop)

Details

(Whiteboard: [AOMTestday][in-litmus-bug-week])

Attachments

(1 file)

In investigating test timeouts it became useful to track how long each part of a test was taking. This gives us that and also adds the ability to name a test function for clarity in the logs.
Summary: Add timing into for parts of tests → Add timing for parts of tests
Attached patch patch rev 1Splinter Review
Assignee: nobody → dtownsend
Status: NEW → ASSIGNED
Attachment #475152 - Flags: review?(bmcbride)
Comment on attachment 475152 [details] [diff] [review]
patch rev 1

Sounds good.

I'm also working on a patch to add stacktraces to browser-chrome tests (for both test faulures and timeouts), which should help a lot.
Attachment #475152 - Flags: review?(bmcbride) → review+
Landed: http://hg.mozilla.org/mozilla-central/rev/41c7b000dd3e
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Flags: in-testsuite-
Flags: in-litmus-
Resolution: --- → FIXED
Target Milestone: --- → mozilla2.0b7
No tests are failing with this patch. Marking as verified fixed.
Status: RESOLVED → VERIFIED
Whiteboard: [AOMTestday][in-litmus-bug-week]
You need to log in before you can comment on or make changes to this bug.