Closed
Bug 533482
Opened 15 years ago
Closed 15 years ago
Allow test to notify the framework that no leak log is expected
Categories
(Testing :: Mochitest, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: benjamin, Assigned: jgriffin)
References
Details
Attachments
(1 file)
3.35 KB,
patch
|
benjamin
:
review+
|
Details | Diff | Splinter Review |
In bug 532400 I added a test which checks for correct behavior when recovering from a crashed plugin. This test made the mochitest harness fail because the crashed plugin process wasn't printing a leak log. I'd like to have a method of telling the leak mechanism that this plugin process is going to crash, and please ignore the fact that it didn't print a leak log.
Assignee | ||
Comment 1•15 years ago
|
||
There's no good way in the existing framework for a test to notify the python testrunner of something like this. So I added something kind of hacky, rather than trying to put in a bunch of new plumbing. I think this is another use case for a manifest-based system...
Attachment #416771 -
Flags: review?
Assignee | ||
Updated•15 years ago
|
Attachment #416771 -
Flags: review? → review?(benjamin)
Reporter | ||
Comment 2•15 years ago
|
||
Comment on attachment 416771 [details] [diff] [review]
patch
The duplication of code finding the leak log is slightly unfortunate, but I can't think of a cleaner way to do it.
Attachment #416771 -
Flags: review?(benjamin) → review+
Assignee | ||
Comment 3•15 years ago
|
||
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•