Hello everyone,<div><br></div><div>In order to contribute to Erlang, I was trying to run tests.</div><div>The first issue I found was that the wiki page about Running tests was out of date:</div><div><br></div><div><a href="https://github.com/erlang/otp/wiki/Running-tests">https://github.com/erlang/otp/wiki/Running-tests</a></div>
<div><br></div><div>With the help of #erlounge folks, I was able to update the command to use the new ./otp_build:</div><div><br></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><font face="'courier new', monospace">ERL_LIBS=`pwd`/lib; ERL_TOP=`pwd`; ./otp_build all -a && ./otp_build tests -a</font></div>
</blockquote><div><div><br></div><div>I've updated the wiki page to use this new command. Could you please validate the command above is the correct one?</div><div><br></div><div>In any case, after running the command above, I moved further to run tests with:</div>
<div><br></div></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><div><font face="'courier new', monospace">cd release/tests/test_server</font></div></div><div><div><font face="'courier new', monospace">$ERL_TOP/bin/ct_run -suite ../compiler_test/andor_SUITE -case t_orelse</font></div>
</div></blockquote><div><div><br></div><div>But then I got the following failure:</div><div><br></div><div><a href="http://pastie.org/3421228">http://pastie.org/3421228</a></div><div><br></div><div>I was ultimately able to run tests related to my patch, but it would be nice if we could make the instructions in the wiki page work out of the box for other developers. I am running on Mac OS X, Snow Leopard.</div>
<div><br></div><span style="font-family:arial,sans-serif;font-size:13px;border-collapse:collapse"><b><span style="border-collapse:separate;font-family:arial;font-weight:normal"><div><span style="font-family:arial,sans-serif;font-size:13px;border-collapse:collapse"><b>José Valim</b></span></div>
<div><span style="font-family:arial,sans-serif;font-size:13px;border-collapse:collapse"><div><span style="font-family:verdana,sans-serif;font-size:x-small"><a href="http://www.plataformatec.com.br/" style="color:rgb(42,93,176)" target="_blank">www.plataformatec.com.br</a></span></div>
<div><span style="font-family:verdana,sans-serif;font-size:x-small">Founder and Lead Developer</span></div></span></div></span></b></span><br>
</div>