<div dir="ltr">So why can't you just run "make test" if that's faster?<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Jan 28, 2018 at 8:30 PM, Nick Coghlan <span dir="ltr"><<a href="mailto:ncoghlan@gmail.com" target="_blank">ncoghlan@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On my current system, "make test" runs in around 3 minutes, while<br>
"./python -m test" runs in around 16 minutes. And that's with "make<br>
test" actually running more tests (since it enables several of the<br>
"-u" options).<br>
<br>
The difference is that "make test" passes "-j0" and hence not only<br>
uses all the available cores in the machines, but will also run other<br>
tests while some tests are sleeping.<br>
<br>
How would folks feel about making "-j 0" the default in the test<br>
suite, and then adjusted the handling of "-j 1" to switch back to the<br>
current default single process mode?<br>
<br>
My rationale for that is to improve the default edit-test cycle in<br>
local development, while still providing a way to force single-process<br>
execution for failure investigation purposes.<br>
<br>
Cheers,<br>
Nick.<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Nick Coghlan   |   <a href="mailto:ncoghlan@gmail.com">ncoghlan@gmail.com</a>   |   Brisbane, Australia<br>
______________________________<wbr>_________________<br>
Python-Dev mailing list<br>
<a href="mailto:Python-Dev@python.org">Python-Dev@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/python-dev" rel="noreferrer" target="_blank">https://mail.python.org/<wbr>mailman/listinfo/python-dev</a><br>
Unsubscribe: <a href="https://mail.python.org/mailman/options/python-dev/guido%40python.org" rel="noreferrer" target="_blank">https://mail.python.org/<wbr>mailman/options/python-dev/<wbr>guido%40python.org</a><br>
</font></span></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">--Guido van Rossum (<a href="http://python.org/~guido" target="_blank">python.org/~guido</a>)</div>
</div>