Closed Bug 664194 Opened 13 years ago Closed 13 years ago

mutt should check exit status rather than grepping stdout for messages

Categories

(Testing Graveyard :: Mozmill, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: k0scist, Assigned: k0scist)

References

Details

(Whiteboard: [mozmill-2.0+])

Attachments

(1 file)

mutt isn't very robust at detecting failures::

INFO | Running JS Tests
INFO | 
INFO | Usage: mozmill [options]
INFO | 
INFO | 
INFO | 
INFO | mozmill: error: no such option: --console-level
INFO | 
INFO | Usage: mozmill [options]
INFO | 
INFO | 
INFO | 
INFO | mozmill: error: no such option: --console-level
INFO | 
INFO | Usage: mozmill [options]
INFO | 
INFO | 
INFO | 
INFO | mozmill: error: no such option: --console-level
INFO | 
INFO | Usage: mozmill [options]
INFO | 
INFO | 
INFO | 
INFO | mozmill: error: no such option: --console-level
INFO | 
INFO | Usage: mozmill [options]
INFO | 
INFO | 
INFO | 
INFO | mozmill: error: no such option: --console-level
INFO | 
INFO | Usage: mozmill [options]
INFO | 
INFO | 
INFO | 
INFO | mozmill: error: no such option: --console-level
INFO | 
INFO | All tests were successful.  Ship it!
INFO | 

Instead of grepping for errors, it should check exit status
Blocks: 606512
Whiteboard: [mozmill-2.0?]
Assignee: nobody → jhammel
Whiteboard: [mozmill-2.0?] → [mozmill-2.0+]
Attachment #545746 - Flags: review?(fayearthur+bugs)
In writing attachment 545746 [details] [diff] [review], I realized that fixing processhandler.py in mutt is going to be a pain if a bug also exists in mozprocess.processhandler. I will write a follow-up bug for this
Comment on attachment 545746 [details] [diff] [review]
check for exit status

looks good.
Attachment #545746 - Flags: review?(fayearthur+bugs) → review+
pushed to master: https://github.com/mozautomation/mozmill/commit/4c2bcec1f7310120d2d85978f7f72cc2d56acc90
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Product: Testing → Testing Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: