Closed Bug 463116 Opened 16 years ago Closed 15 years ago

Re-implement runtest.pl for leak and bloat tests in python.

Categories

(MailNews Core :: Build Config, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Thunderbird 3.0rc1

People

(Reporter: standard8, Assigned: standard8)

References

Details

Attachments

(2 files, 1 obsolete file)

Attached patch The fix (obsolete) — Splinter Review
There's a couple of reasons I want to do this, the main one being that I think I want to use some of the process functionality from automation.py to start and stop fake server processes which will make extending the tests easier.

Attaching patch which I think emulates the current runtest.pl.
Flags: in-testsuite-
Attachment #346337 - Flags: review?(gozer)
Comment on attachment 346337 [details] [diff] [review]
The fix

Small problem that you have correctly ported over from the original script. When actually running commands, it would be important to capture the status code, and if not successfull, bail out and return it out as a status code, so buildbot knows something failed, instead of just logging it to stderr
Slight fixup including aborting on command failure and passing that status code back to buildbot, so it knows something failed.
Attachment #346337 - Attachment is obsolete: true
Attachment #346478 - Flags: review?
Attachment #346337 - Flags: review?(gozer)
Attachment #346478 - Flags: review? → review?(bugzilla)
Comment on attachment 346478 [details] [diff] [review]
[checked in] The Fix v2

Yep, I'm happy with the additional changes.
Attachment #346478 - Flags: review?(bugzilla) → review+
Comment on attachment 346478 [details] [diff] [review]
[checked in] The Fix v2

This has now been pushed: http://hg.mozilla.org/comm-central/rev/8503d3f60e36
Attachment #346478 - Attachment description: The Fix v2 → [checked in] The Fix v2
Updated buildbot configuration to invoke the python version, kill the perl one at will.

http://hg.mozilla.org/build/buildbot-configs/rev/39fbffc754d8
(In reply to comment #5)
> Updated buildbot configuration to invoke the python version, kill the perl one
> at will.

I've got some future changes planned for that directory, so I will remove the file at the same time as those.
Attached patch The fixSplinter Review
Remove runtest.pl. SeaMonkey doesn't use it anymore, Thunderbird doesn't, and runtest.py is the thing to use now anyway.
Attachment #401432 - Flags: review?(bienvenu)
Attachment #401432 - Flags: review?(bienvenu) → review+
Checked in: http://hg.mozilla.org/comm-central/rev/0d309f72fcf3

This bug is fixed now.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 3.0rc1
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: