Testing a change

How can I verify that the changes I made work (or atleast build) properly before submitting the patch?
Do I need to do ./mach build everytime? Is there a faster way?
Thanks in advance.
0
Sanchit
2/5/2020 9:58:58 AM
mozilla.dev.builds 1751 articles. 0 followers. Post Follow

1 Replies
18 Views

Similar Articles

[PageSpeed] 38

Hi Sanchit,

On Wed, Feb 5, 2020 at 5:00 AM Sanchit Arora
<sanchit.arora.2002@gmail.com> wrote:
> How can I verify that the changes I made work (or atleast build) properly before submitting the patch?
> Do I need to do ./mach build everytime? Is there a faster way?

Yes, you should do a `mach build` (and then, depending on the change,
either test your changes locally, or use `mach try` to run some of our
automated tests with your change applied.)

Note, only the first `mach build` after pulling from upstream should
take a long time. A subsequent `mach build` with your changes applied
will be an incremental build, which is usually much faster (e.g. a
couple of minutes).

Hope that helps,
Botond
0
Botond
2/5/2020 1:20:12 PM
Reply: