[erlang-questions] meck fail to compile with latest erlang R17 (a test failed)

Lee Sylvester <>
Fri Apr 11 16:51:59 CEST 2014


You need to work through meck and change any signs of dict() to dict:dict().  I had to do this myself for meck last night.

Lee


 
On 11 Apr 2014, at 13:46, Serban Eduard <> wrote:

> Hi all,
> 
> After i switched to new erlang R17 i can't compile my project since it fails when meck dependency  compiles.
> I tried also to build meck only and when i ran: "make"  i received :
> 
> Compiled test/meck_tests.erl
> 
> =ERROR REPORT==== 11-Apr-2014::15:30:15 ===
> ** Generic server mymod_meck terminating 
> ** Last message in was {'EXIT',<0.77.0>,expected_test_exit}
> ** When Server state == {state,mymod,any,
>                                {dict,0,16,16,8,80,48,
>                                      {[],[],[],[],[],[],[],[],[],[],[],[],[],
>                                       [],[],[]},
>                                      {{[],[],[],[],[],[],[],[],[],[],[],[],[],
>                                        [],[],[]}}},
>                                true,[],
>                                {false,no_binary},
>                                false,undefined,[]}
> ** Reason for termination == 
> ** expected_test_exit
> 
> =ERROR REPORT==== 11-Apr-2014::15:30:17 ===
> Can't load module that resides in sticky dir
> 
> =ERROR REPORT==== 11-Apr-2014::15:30:18 ===
> Error in process <0.1195.0> with exit value: {timeout,[{meck_proc,wait,6,[{file,"src/meck_proc.erl"},{line,169}]},{meck_tests,'-wait_for_the_same_pattern_on_different_processes_test/0-fun-2-',0,[{file,"test/meck_tests.erl"},{line,1355}]}]}
> 
> 
> =ERROR REPORT==== 11-Apr-2014::15:30:18 ===
> Error in process <0.1203.0> with exit value: {timeout,[{meck_proc,wait,6,[{file,"src/meck_proc.erl"},{line,169}]},{meck_tests,'-wait_for_different_patterns_on_different_processes_test/0-fun-0-',0,[{file,"test/meck_tests.erl"},{line,1376}]}]}
> 
> It fails when a test ran...
> 
> Do you have a clue ?
> 
> Thanks,
> Eddie
> _______________________________________________
> erlang-questions mailing list
> 
> http://erlang.org/mailman/listinfo/erlang-questions

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20140411/ad0a7a3c/attachment.html>


More information about the erlang-questions mailing list