<div dir="ltr"><span class="gmail-im" style="font-size:12.8px">&gt;&gt; From reading the documentation on using WebKit, it seems that I need to build the entire codebase by running build-webkit each time I want to test a new change I made. Given that it takes about 90 min to run the build on my laptop, this seems like an inefficient way of developing webkit.<br><br></span><span style="font-size:12.8px">&gt;Incremental rebuilds usually take much less time.</span><br><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">If you&#39;re using WebKit GTK port, there are some tips to speed up build time.</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">- <a href="https://trac.webkit.org/wiki/WebKitGTK/SpeedUpBuild">https://trac.webkit.org/wiki/WebKitGTK/SpeedUpBuild</a></span><br></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">gyuyoung.</span></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jul 25, 2016 at 5:39 AM, Konstantin Tokarev <span dir="ltr">&lt;<a href="mailto:annulen@yandex.ru" target="_blank">annulen@yandex.ru</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
<br>
24.07.2016, 23:08, &quot;Lay Kuan Loh&quot; &lt;<a href="mailto:lloh@andrew.cmu.edu">lloh@andrew.cmu.edu</a>&gt;:<br>
<span class="">&gt; Hi all,<br>
&gt;<br>
&gt; Newcomer to webkit here.<br>
<br>
</span>You&#39;re welcome :)<br>
<span class=""><br>
&gt;<br>
&gt; I am trying to modify WebKit for my own purposes. I do not plan to ship my modifications to the official codebase.<br>
<br>
</span>If you accidentally make (whatever small) improvements which can be useful for other WebKit users, please consider upstreaming them. Every little piece counts.<br>
<span class=""><br>
&gt;<br>
&gt; How would I check that the changes I make to WebKit did not break anything? For instance, I am making changes to the file WebKit/Source/WebCore/dom/Element.cpp and would like to test them incrementally.<br>
<br>
</span>You need to run Layout Tests. Read articles from <a href="https://trac.webkit.org/wiki#LayoutTests" rel="noreferrer" target="_blank">https://trac.webkit.org/wiki#LayoutTests</a><br>
<br>
You don&#39;t need to run all tests at once, run-webkit-tests allows you to specify directory or individual test files.<br>
<span class=""><br>
&gt;<br>
&gt; From reading the documentation on using WebKit, it seems that I need to build the entire codebase by running build-webkit each time I want to test a new change I made. Given that it takes about 90 min to run the build on my laptop, this seems like an inefficient way of developing webkit.<br>
<br>
</span>Incremental rebuilds usually take much less time.<br>
<span class=""><br>
&gt;<br>
&gt; I am trying to modify WebKit for my own purposes. I do not plan to ship my modifications to the official codebase.<br>
&gt;<br>
&gt; How would I check that the changes I make to WebKit did not break anything? For instance, I am making changes to the file WebKit/Source/WebCore/dom/Element.cpp and would like to test them incrementally.<br>
&gt;<br>
&gt; From reading the documentation on using WebKit, it seems that I need to build the entire codebase by running build-webkit each time I want to test a new change I made. Given that it takes about 90 min to run the build on my laptop, this seems like an inefficient way of developing webkit.<br>
&gt;<br>
&gt; Am I missing something obvious, on how to speed up testing my changes to WebKit? I&#39;ve googled around but for some reason can&#39;t find any clear instructions on doing this.<br>
&gt;<br>
&gt; I&#39;ve also posted the same question to stack overflow here.<br>
&gt;<br>
&gt; Thanks!<br>
</span>&gt; ,<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; webkit-help mailing list<br>
&gt; <a href="mailto:webkit-help@lists.webkit.org">webkit-help@lists.webkit.org</a><br>
&gt; <a href="https://lists.webkit.org/mailman/listinfo/webkit-help" rel="noreferrer" target="_blank">https://lists.webkit.org/mailman/listinfo/webkit-help</a><br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
--<br>
Regards,<br>
Konstantin<br>
_______________________________________________<br>
webkit-help mailing list<br>
<a href="mailto:webkit-help@lists.webkit.org">webkit-help@lists.webkit.org</a><br>
<a href="https://lists.webkit.org/mailman/listinfo/webkit-help" rel="noreferrer" target="_blank">https://lists.webkit.org/mailman/listinfo/webkit-help</a><br>
</font></span></blockquote></div><br></div>