Closed Bug 812135 Opened 13 years ago Closed 13 years ago

checkForZombies() should return the result & consumers use it to determine run exit code

Categories

(Testing :: General, defect)

defect
Not set
normal

Tracking

(firefox17 wontfix, firefox18 affected, firefox19 affected, firefox-esr17 affected)

RESOLVED FIXED
mozilla20
Tracking Status
firefox17 --- wontfix
firefox18 --- affected
firefox19 --- affected
firefox-esr17 --- affected

People

(Reporter: emorley, Assigned: emorley)

Details

Attachments

(2 files)

(Broken out from bug 808410) Post bug 808410, checkForCrashes returns the result & consumers use it to determine the overall run exit code. We should make checkForZombies do the same.
(Diff looks worse than it is; mostly indentation change. Patch applies on top of those in bug 808410) Note: This makes "PID log not found" fatal, since it didn't seem right to return False, if we weren't actually able to check for hung processes. Let me know if we shouldn't do this.
Attachment #681934 - Flags: review?(jmaher)
Comment on attachment 681934 [details] [diff] [review] Part 1: checkForZombies should return the result Review of attachment 681934 [details] [diff] [review]: ----------------------------------------------------------------- good one.
Attachment #681934 - Flags: review?(jmaher) → review+
Comment on attachment 681935 [details] [diff] [review] Part 2: Use the checkForZombies result to determine run status Review of attachment 681935 [details] [diff] [review]: ----------------------------------------------------------------- even better!
Attachment #681935 - Flags: review?(jmaher) → review+
Thank you for the reviews :-) Looks good: https://tbpl.mozilla.org/?tree=Try&rev=679262f1068d Will land once bug 808410 does.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: