Open Bug 1066161 Opened 10 years ago Updated 2 years ago

[mozlog] Mozlog should be able to interpret test expectations from test manifests

Categories

(Testing :: Mozbase, defect)

x86_64
Linux
defect

Tracking

(Not tracked)

People

(Reporter: chmanchester, Unassigned)

Details

From a review comment in bug 1033126. Reading test objects from a manifest means understanding which ones are expected failures. We're communicating this to structured logging by hand per harness, perhaps we could do it directly.
What do you mean, exactly? The logical separation here is that moztest or something should know how to read manifest files and construct some sort of Test objects which would include the expectation value. Possibly this could be pushed down into manifestparser, depending on whether one believes that having lots of logic about the semantics of the manifests rather than just the syntax in that module is a good idea. I don't think putting information about the manifest format into mozlog itself would be a good idea at all.
We get test objects out of the manifest parser already. The proposal is to be able to pass a test object into mozlog for the convenience of logging from the harnesses.
Summary: Mozlog should be able to interpret test expectations from test manifests → [mozlog] Mozlog should be able to interpret test expectations from test manifests
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.