Closed
Bug 465968
Opened 17 years ago
Closed 17 years ago
MailNews leak & bloat runtest.py needs to work for other apps than just Thunderbird
Categories
(MailNews Core :: Build Config, defect)
MailNews Core
Build Config
Tracking
(Not tracked)
RESOLVED
FIXED
Thunderbird 3.0b1
People
(Reporter: standard8, Assigned: standard8)
References
Details
Attachments
(2 files, 1 obsolete file)
2.82 KB,
patch
|
gozer
:
review+
|
Details | Diff | Splinter Review |
978 bytes,
patch
|
ajschult784
:
review+
|
Details | Diff | Splinter Review |
I just realised that runtest.py is Thunderbird specific, we need to adapt it so it'll work with SeaMonkey as well (especially as I asked for nye to start running with runtest.py).
I think the simplest way to do this, would be to pass it an extra argument we need:
binary name (e.g. thunderbird or seamonkey, we know about the -bin for appending)
brand name & debug (e.g. ShredderDebug, Shredder, SeaMonkey, SeaMonkeyDebug, Thunderbird, ThunderbirdDebug).
I'm not sure if our buildbot configs know about these or not, but I suspect we can just hard code them into the prefs.
Thoughts?
Comment 1•17 years ago
|
||
Our buildbots know about these, so it wouldn't be a problem to pass these in as arguments, i.e.
$> python runtests.py --bin=thunderbird --brand=Shredder
Assignee | ||
Comment 2•17 years ago
|
||
Add arguments as suggested in comment 1. Note that we'll need to use 'ShredderDebug' as the argument to pass to -brand.
Comment 3•17 years ago
|
||
Comment on attachment 349978 [details] [diff] [review]
The fix
So this becomes:
$> python mailnews/[...]/runtests.py --bin=thunderbird --brand=ShredderDebug --objdir=objdir-tb
? --debug-brand maybe? There is something about brand=...Debug that's going to get me confused at some point.
Also, could this default to the current behaviour (i.e. thunderbird as the default binary name) so as not to break current buildbot when this is landed ?
Attachment #349978 -
Flags: review?(gozer) → review-
Assignee | ||
Comment 4•17 years ago
|
||
With debug/release options and defaulting to the current TB setup.
Attachment #349978 -
Attachment is obsolete: true
Attachment #350147 -
Flags: review?(gozer)
Updated•17 years ago
|
Attachment #350147 -
Flags: review?(gozer) → review+
Comment 5•17 years ago
|
||
Comment on attachment 350147 [details] [diff] [review]
[checked in] The fix v2
I very much like the --release option as well.
Assignee | ||
Comment 6•17 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 3.0b1
Comment 7•17 years ago
|
||
FYI, this is a big help for SeaMonkey, but when running the script, it just opens the browser window because it doesn't pass -mail. The test seems to work with that hacked in, but I'm not sure of the best way to make that happen correctly.
Comment 8•17 years ago
|
||
adding support for some --extra-stratup-args="--mail" argument maybe ?
Assignee | ||
Comment 9•17 years ago
|
||
Adds an extra option so you can do:
--extra-startup-arg="--mail"
This only works for one argument. I think that's enough for now, we can extend the script later if we want more.
Attachment #350756 -
Flags: review?(ajschult)
Comment 10•17 years ago
|
||
Comment on attachment 350756 [details] [diff] [review]
[checked in] Add extra option
r=me. looks OK for now and does work.
Attachment #350756 -
Flags: review?(ajschult) → review+
Assignee | ||
Updated•17 years ago
|
Attachment #350147 -
Attachment description: The fix v2 → [checked in] The fix v2
Assignee | ||
Comment 11•17 years ago
|
||
Comment on attachment 350756 [details] [diff] [review]
[checked in] Add extra option
http://hg.mozilla.org/comm-central/rev/ffff22bd6021
Attachment #350756 -
Attachment description: Add extra option → [checked in] Add extra option
Updated•14 years ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•