Closed Bug 1352357 Opened 7 years ago Closed 7 years ago

Add leak checking support to wptrunner

Categories

(Testing :: web-platform-tests, enhancement)

Version 3
enhancement
Not set
normal

Tracking

(firefox55 fixed)

RESOLVED FIXED
mozilla55
Tracking Status
firefox55 --- fixed

People

(Reporter: jgraham, Assigned: jgraham)

References

Details

Attachments

(1 file)

Add support for leak checking to wptrunner using mozleak. This has to support disabling leak checking for specific (groups of) tests because imported tests may leak. Doing that requires restarting the browser.
Blocks: 1352355
Comment on attachment 8853344 [details]
Bug 1352357 - Add leak checking support for web-platform-tests,

https://reviewboard.mozilla.org/r/125436/#review128880
Attachment #8853344 - Flags: review?(dburns) → review+
Pushed by james@hoppipolla.co.uk:
https://hg.mozilla.org/integration/autoland/rev/d405c6bc179d
Add leak checking support for web-platform-tests, r=automatedtester
Assignee: nobody → james
Status: NEW → ASSIGNED
https://hg.mozilla.org/mozilla-central/rev/d405c6bc179d
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla55
This seems to have broken the Servo ./mach, at least when run within m-c:

1. Go to m-c checkout
2. cd servo


```
$ ./mach --help
Pip failed to execute properly:
Output:
Error:   Could not find a version that satisfies the requirement mozleak>=0.1 (from -r /Users/jryans/projects/mozilla/gecko-dev-stylo/servo/../testing/web-platform/harness/requirements_firefox.txt (line 6)) (from versions: )
No matching distribution found for mozleak>=0.1 (from -r /Users/jryans/projects/mozilla/gecko-dev-stylo/servo/../testing/web-platform/harness/requirements_firefox.txt (line 6))
```
Flags: needinfo?(james)
Yes, this is a very troublesome hiccup for stylo. James, is this something you can fix easily?
Apparently we never released mozleak to pypi. I just did that; does that fix this issue?
Flags: needinfo?(james)
(In reply to James Graham [:jgraham] from comment #8)
> Apparently we never released mozleak to pypi. I just did that; does that fix
> this issue?

Yep, works great - thanks!
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: