Open Bug 1733460 Opened 3 years ago

"leakcheck | tab missing output line for total leaks!" failure should include the test or directory

Categories

(Testing :: General, enhancement)

enhancement

Tracking

(Not tracked)

People

(Reporter: mccr8, Unassigned)

References

(Blocks 1 open bug)

Details

A line shows up in the test log when a leak log is created. Therefore, leakcheck should be able to figure out which test was running when the leak log was created, and report that as part of the error message. The recent failures I looked at in bug 1560096 were all due to a test failing to indicate to the leak checker that they were intentionally crashing a process, so adding an annotation like this would properly assign blame, rather than having everything turn into a giant bucket that requires manual analysis to understand.

In the worst case, we could fall back to printing out the test directory, if no test was currently running.

You need to log in before you can comment on or make changes to this bug.