New --start-at and --end-at options for running mochitests
mconley at mozilla.com
Mon Oct 28 22:09:52 UTC 2013
Yes, this is very handy! Thank you!
On 28/10/2013 6:04 PM, Gijs Kruitbosch wrote:
> Woo! This is awesome. Thank you for doing this. :-)
> ~ Gijs
> On 28/10/13, 22:56 , Bill McCloskey wrote:
>> Hi everyone,
>> Bug 931279 just landed, and I thought it might be of general interest.
>> Here's a quick description from the bug:
>> Sometimes a test fails because of something done by an earlier test.
>> In that case, you want to run all tests from the earlier test to the
>> failing test. If the tests are in the same directory, you can use
>> --test-path to do this. But if they're in different directories, then
>> you often end up running the entire test suite just to reproduce the
>> This patch adds new options --start-at and --end-at to runtests.py.
>> They allow you to specify which tests to start and end on. For
>> example, if the list of all tests is:
>> Then specifying --start-at=a/b/d --end-at=f/g/h will run these tests:
>> Additionally, you can just specify a suffix of the name, so
>> --start-at=d --end-at=h also works.
> firefox-dev mailing list
> firefox-dev at mozilla.org
More information about the firefox-dev