As part of a cleanup of the mochitest harness and the mochitest mach command, the following arguments have changed in the harness (behaviour should be unchanged when running from mach):

1) --autorun is now the default so this option has been removed. Use --no-autorun to turn it off.

2) --close-when-done is now the default, so this option has been removed. Use --keep-open to turn it off.

3) --console-level now defaults to INFO, so no need to specify it manually.

In addition, the mach command now uses the same set of arguments as the mochitest harness. All arguments are now defined in mochitest_options.py:
https://hg.mozilla.org/mozilla-central/file/tip/testing/mochitest/mochitest_options.py
S
ome arguments have a "suppress": True value. This means that they will be hidden from --help, as they are things that an average developer shouldn't need to worry about (i.e the defaults should be good for most cases). However it is still possible to pass in these arguments for more advanced use cases or from automation if necessary.

There are future planned changes to the mochitest mach commands. All of the various mochitest commands will be rolled into a single point of entry. E.g instead of:

./mach mochitest-browser

You'd run:

./mach mochitest -f browser

This is all part of an effort to simplify the process of running tests, and to unify both the local and automation entry points to the harness. If you have any questions or concerns, please let me know.

-Andrew

_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to