Closed Bug 372583 Opened 18 years ago Closed 18 years ago

MozBuild::Util::RunShellCommand doesn't return signal name or number

Categories

(Release Engineering :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: ajschult784, Assigned: preed)

References

()

Details

Attachments

(1 file)

RunShellCommand is supposed to return the signal name as sigName. But it never figures out what the signal name is. It gets the signal number, but doesn't return it. It apparently needs something like build-seamonkey-utils's signal_name http://bonsai.mozilla.org/cvsblame.cgi?file=mozilla/tools/tinderbox/build-seamonkey-util.pl&rev=1.351#1605
-- Make sure we don't clobber any other filehandles called "LOGFILE" -- make sure the sigNum we return really is the signal number -- Handle dumped core appropriately (stolen from the patch for bug 372582) I'm not implementing sig_name in this patch because arguably it's not RunShellCommand()s responsibility to come up with that information. I believe I omitted it previously because the Config module wasn't installed on all the build machines we needed it to be... I... think. I wouldn't be opposed to adding a GetSigName() function to Util.pm, though.
Assignee: build → preed
Status: NEW → ASSIGNED
Attachment #257784 - Flags: review?(rhelmer)
Attachment #257784 - Flags: review?(rhelmer) → review+
Checking in Util.pm; /cvsroot/mozilla/tools/release/MozBuild/Util.pm,v <-- Util.pm new revision: 1.15; previous revision: 1.14 done
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Product: mozilla.org → Release Engineering
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: