Closed
Bug 907923
Opened 13 years ago
Closed 13 years ago
Fix mozharness parsing of cppunittest output
Categories
(Release Engineering :: Applications: MozharnessCore, defect)
Release Engineering
Applications: MozharnessCore
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: dminor, Assigned: dminor)
Details
Attachments
(1 file, 1 obsolete file)
|
1.13 KB,
patch
|
mozilla
:
review+
mozilla
:
checked-in+
|
Details | Diff | Splinter Review |
Currently the output parser in desktop_unittest.py decides that the cpp unittests fail collectively despite all of the tests passing individually. I think this is due to the word 'WARNING' showing up in the test output, but it might be something else.
The rununittest.py script itself returns 0 for success and 1 otherwise, but I don't want to ignore the parser completely and lose the ability to correctly recognize crashes and other problems.
| Assignee | ||
Comment 1•13 years ago
|
||
Updating summary as the changes to the parser required are in unittest.py and errors.py, not desktop_unittest.py.
Summary: Fix mozharness desktop_unittest.py to parse cppunittest output properly → Fix mozharness parsing of cppunittest output
| Assignee | ||
Comment 2•13 years ago
|
||
I've added a regex for cppunittests and also changed the pass/fail count logic to handle test harnesses that do not keep track of these numbers.
Comment 3•13 years ago
|
||
Comment on attachment 794033 [details] [diff] [review]
Patch to handle parsing cppunittest output
Discussed in IRC:
I think a preferable solution would be to get the cpp test harness to behave similarly to the others. If we hit issues with that, we still have this approach as a second option.
Attachment #794033 -
Flags: review?(aki)
| Assignee | ||
Comment 4•13 years ago
|
||
Bug 908644 adds the summary to cppunittest we parse with this patch.
Attachment #794033 -
Attachment is obsolete: true
Attachment #794788 -
Flags: review?(aki)
Comment 5•13 years ago
|
||
Comment on attachment 794788 [details] [diff] [review]
Patch to add support to parse cppunittest output.
Thanks!
Attachment #794788 -
Flags: review?(aki) → review+
Comment 6•13 years ago
|
||
Comment on attachment 794788 [details] [diff] [review]
Patch to add support to parse cppunittest output.
https://hg.mozilla.org/build/mozharness/rev/008b723bdd3a
Attachment #794788 -
Flags: checked-in+
Comment 7•13 years ago
|
||
In production
| Assignee | ||
Updated•13 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Updated•12 years ago
|
Component: General Automation → Mozharness
You need to log in
before you can comment on or make changes to this bug.
Description
•