Closed
Bug 409284
Opened 17 years ago
Closed 17 years ago
bloatdiff.pl should catch basic errors
Categories
(Webtools Graveyard :: Tinderbox, defect)
Webtools Graveyard
Tinderbox
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: coop, Assigned: coop)
References
Details
Attachments
(1 file)
1.99 KB,
patch
|
nthomas
:
review+
|
Details | Diff | Splinter Review |
bloatdiff.pl doesn't do any checking on the command-line args it's passed, so it merrily goes about its calculations even when it has no hope of success. Patch forthcoming.
Assignee | ||
Comment 1•17 years ago
|
||
Also: - comment out unused LABEL var - add usage() sub which essentially spits out the old file header - add some usage hints on failure
Assignee | ||
Updated•17 years ago
|
Attachment #294098 -
Flags: review?(nrthomas)
Comment 2•17 years ago
|
||
Comment on attachment 294098 [details] [diff] [review] Check that supplied files exist and are not empty. >Index: bloatdiff.pl ... >+# bloatdiff.pl - munges the output from > # XPCOM_MEM_BLOAT_LOG=1; mozilla-bin -f bloaturls.txt I wonder if this is still true - tinderbox does .../obj/dist/bin/firefox-bin -P default resource:///res/bloatcycle.html for Firefox, Seamonkey, and TestGtkEmbed, otherwise falls back to the -f method. r+ for the rest.
Attachment #294098 -
Flags: review?(nrthomas) → review+
Assignee | ||
Comment 3•17 years ago
|
||
(In reply to comment #2) > I wonder if this is still true - tinderbox does > .../obj/dist/bin/firefox-bin -P default resource:///res/bloatcycle.html > for Firefox, Seamonkey, and TestGtkEmbed, otherwise falls back to the -f > method. While not strictly untrue, certainly out-of-date. I just wrapped the existing file header here into a usage() sub, but you're right. I should update it with info about how the script is currently used.
Assignee | ||
Comment 4•17 years ago
|
||
Checking in bloatdiff.pl; /cvsroot/mozilla/tools/tinderbox/bloatdiff.pl,v <-- bloatdiff.pl new revision: 1.21; previous revision: 1.20 done
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Component: Tinderbox Configuration → Tinderbox
Product: mozilla.org → Webtools
Updated•10 years ago
|
Product: Webtools → Webtools Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•