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)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: benjamin, Assigned: jgriffin)

References

Details

Attachments

(1 file)

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.
Attached patch patchSplinter Review
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?
Attachment #416771 - Flags: review? → review?(benjamin)
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+
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.

Attachment

General

Created:
Updated:
Size: