Google 网上论坛不再支持新的 Usenet 帖子或订阅项。历史内容仍可供查看。

Testing a change

已查看 12 次
跳至第一个未读帖子

Sanchit Arora

未读,
2020年2月5日 04:58:592020/2/5
收件人
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.

Botond Ballo

未读,
2020年2月5日 08:20:382020/2/5
收件人 Sanchit Arora、Mozilla Product Builds
Hi Sanchit,

On Wed, Feb 5, 2020 at 5:00 AM Sanchit Arora
<sanchit.a...@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 个新帖子