Upcoming changes to Thunderbird's tests

Geoff Lankow geoff at thunderbird.net
Tue Dec 3 02:08:34 UTC 2019


Hello everybody

Because of the changing add-on environment, we plan to switch off 
Mozmill testing by the end of the year. Mozmill ran using a bootstrapped 
extension (already hacked from a non-bootstrapped extension) which no 
longer be feasible when we remove support for bootstrapped extensions.

Shortly I'll be landing a patch which /copies/ all Mozmill tests to 
Mochitest (bug 1599991 
<https://bugzilla.mozilla.org/show_bug.cgi?id=1599991>). Some of them 
are switched off because they fail reliably.

For a time both sets of tests will be running simultaneously, so you 
will need to:

  * run both sets of tests in your Try runs
  * if you break something, check it is fixed in both tests
  * modify both copies of a test if you make a modification
  * there may be some lingering orange on TreeHerder for a while – if
    your Try run is orange and you don't know if you caused it, ask

The new tests will live under mail/test/browser with similar names to 
the old tests in mail/test/mozmill. The modules in 
mail/test/mozmill/shared-modules are used by both sets of tests (ie. 
there's only one copy of these files).

Once we're satisfied the new tests are working okay, Mozmill will be 
switched off forever and you can unlearn make -C path/to/objdir 
mozmill-one SOLO_TEST=folder/test-name.js :-)

GL

P.S. Mochitest debug runs come with leak checking turned on by default. 
Some of the test runs leak over 100MB. This is not good! Please help fix 
it if you have the know-how.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/tb-planning/attachments/20191203/a81ef13c/attachment.html>


More information about the tb-planning mailing list