[erlang-patches] Information in the wiki page about Running Tests probably out of date?

Henrik Nord <>
Tue Feb 21 12:16:55 CET 2012



On 02/20/2012 05:08 PM, José Valim wrote:
> Hello everyone,
>
> In order to contribute to Erlang, I was trying to run tests.
> The first issue I found was that the wiki page about Running tests was 
> out of date:
>
> https://github.com/erlang/otp/wiki/Running-tests
>
> With the help of #erlounge folks, I was able to update the command to 
> use the new ./otp_build:
>
>     ERL_LIBS=`pwd`/lib; ERL_TOP=`pwd`; ./otp_build all -a &&
>     ./otp_build tests -a
>

The ERL_LIBS should not be needed, and the -a for ./otp_build tests is 
not needed


>
> I've updated the wiki page to use this new command. Could you please 
> validate the command above is the correct one?
>
> In any case, after running the command above, I moved further to run 
> tests with:
>
>     cd release/tests/test_server
>     $ERL_TOP/bin/ct_run -suite ../compiler_test/andor_SUITE -case t_orelse
>

>
> But then I got the following failure:
>
> http://pastie.org/3421228
Looks like you have not run ts:install(). check the wiki for details :D
>
> 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.
The use of "./otp_build tests" ,  instead of "make release_tests" should 
facilitate this, as it makes sure we use gmake/make
>
> *
> *José Valim*
> www.plataformatec.com.br <http://www.plataformatec.com.br/>
> Founder and Lead Developer
> *
>
>
> _______________________________________________
> erlang-patches mailing list
> 
> http://erlang.org/mailman/listinfo/erlang-patches

-- 
/Henrik Nord Erlang/OTP

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-patches/attachments/20120221/865d0866/attachment.html>


More information about the erlang-patches mailing list