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)
Release Engineering
General
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: ajschult784, Assigned: preed)
References
()
Details
Attachments
(1 file)
|
2.85 KB,
patch
|
rhelmer
:
review+
|
Details | Diff | Splinter Review |
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
| Assignee | ||
Comment 1•18 years ago
|
||
-- 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.
Updated•18 years ago
|
Attachment #257784 -
Flags: review?(rhelmer) → review+
| Assignee | ||
Comment 2•18 years ago
|
||
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
Updated•12 years ago
|
Product: mozilla.org → Release Engineering
You need to log in
before you can comment on or make changes to this bug.
Description
•