<div dir="ltr">On Thu, Apr 11, 2013 at 9:35 PM, Rafael Espíndola <span dir="ltr"><<a href="mailto:rafael.espindola@gmail.com" target="_blank" class="cremed">rafael.espindola@gmail.com</a>></span> wrote:<br><div class="gmail_extra">
<div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">> Please include unittests for things under Support where possible. This one<br>

> seems quite easy.<br>
<br>
</div>How? The interesting part of this function is its connection to the OS<br>
(the call to sysconf or the value copied from the windows doc). We can<br>
stub that, but then the test is just that the function adds the size<br>
of each argument.<br></blockquote><div><br></div><div style>And that it compiles.</div><div style><br></div><div style>But what about just choosing a value that is 10x larger than any OS supports? It doesn't have to be terribly precise.</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">That is why my suggestion is to just test that the clang driver works<br>
when given a large command line. It might work because the system it<br>
is running in has a really large limit (current linux for example) or<br>
because it is creating an @file.<br></blockquote><div><br></div><div style>I don't see how this will be easier than a unit test...</div></div></div></div>