[wpt-sync] Sync PR 37037 - [wptrunner] Allow expectation inheritance from `__dir__.ini`
Categories
(Testing :: web-platform-tests, task, P4)
Tracking
(Not tracked)
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 37037 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/37037
Details from upstream follow.
Jonathan Lee <jonathanjlee@google.com> wrote:
[wptrunner] Allow expectation inheritance from
__dir__.ini1 seems to imply a test without per-test metadata can inherit the
expectedkey of an ancestor__dir__.ini, but this does not actually work currently. This change applies the metadata search the other properties use toexpectedandknown_intermittent. Special care was taken to ensureexpectedandknown_intermittentare retrieved from the same key-value node.One use case for a directory-wide expectation is to suppress failures that share a common cause (e.g., flag-enabled functionality). This avoids the need to create per-test metadata files with repeated contents that are not ergonomic to update.
| Assignee | ||
Updated•2 years ago
|
| Assignee | ||
Updated•2 years ago
|
Description
•