<div dir="ltr"><span class="gmail-im" style="font-size:12.8px">>> 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">>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'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"><<a href="mailto:annulen@yandex.ru" target="_blank">annulen@yandex.ru</a>></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, "Lay Kuan Loh" <<a href="mailto:lloh@andrew.cmu.edu">lloh@andrew.cmu.edu</a>>:<br>
<span class="">> Hi all,<br>
><br>
> Newcomer to webkit here.<br>
<br>
</span>You're welcome :)<br>
<span class=""><br>
><br>
> 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>
><br>
> 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't need to run all tests at once, run-webkit-tests allows you to specify directory or individual test files.<br>
<span class=""><br>
><br>
> 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>
><br>
> I am trying to modify WebKit for my own purposes. I do not plan to ship my modifications to the official codebase.<br>
><br>
> 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>
> 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>
> Am I missing something obvious, on how to speed up testing my changes to WebKit? I've googled around but for some reason can't find any clear instructions on doing this.<br>
><br>
> I've also posted the same question to stack overflow here.<br>
><br>
> Thanks!<br>
</span>> ,<br>
><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>
<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>