Closed
Bug 1513927
Opened 5 years ago
Closed 5 years ago
check_for_crashes deletes crash files
Categories
(Testing :: web-platform-tests, enhancement)
Tracking
(firefox66 fixed)
RESOLVED
FIXED
mozilla66
Tracking | Status | |
---|---|---|
firefox66 | --- | fixed |
People
(Reporter: jgraham, Assigned: jgraham)
References
Details
Attachments
(1 file)
Because mozcrash is silly, check_for_crashes actually deletes the crash files, so a subsequent call to log_crashes doesn't do anything. This badly need to be refactored, but in the meantime change things around so that we only call log_crashes and use the return value from that to actually check if any crashes occured.
Assignee | ||
Comment 1•5 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=1ca26b6d71e3213d687bb59949d1fc24462faee1 may or may not show a crash that indicates whether or not this works.
Assignee | ||
Comment 2•5 years ago
|
||
Because mozcrash is stateful we can't check for crashes and then later log them; we need to do everything in one shot. Therefore remove the check_for_crashes call, rename log_crash to check_crash and make it return a boolean indicating whether any crashes occured, as well as handling the logging.
Pushed by james@hoppipolla.co.uk: https://hg.mozilla.org/integration/autoland/rev/517fdabf94bd Change wpt crash handling API to be a single method, r=ted
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/14517 for changes under testing/web-platform/tests
Comment 5•5 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/517fdabf94bd
Status: NEW → RESOLVED
Closed: 5 years ago
status-firefox66:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla66
Updated•5 years ago
|
Assignee: nobody → james
Upstream PR merged
You need to log in
before you can comment on or make changes to this bug.
Description
•