[erlang-questions] beginner: {undef, [{ts_install_cth, ... in log from slave_SUITE

Bengt Kleberg <>
Wed Nov 21 14:21:38 CET 2012


Thank you. Unfortunately I have a company installed Erlang/OTP that I
can not change.

However, I found that if I removed the line:
suite() -> [{ct_hooks,[ts_install_cth]}].

from slave_SUITE.erl, all test cases pass.


bengt

On Wed, 2012-11-21 at 14:16 +0100, Siri Hansen wrote:
> Hi Bengt!
> 
> 
> You should follow https://github.com/erlang/otp/wiki/Running-tests for
> running the OTP tests. If you do so, you will at some point do
> 
> 
> cd release/tests/test_server
> 
> 
> the ts_install_cth module should be located in this directory (after
> building tests).
> 
> 
> (The source is located in the test_server application, but the module
> is OTP internal and is therefore not available in
> test_server-<vsn>/ebin).
> 
> 
> Regards
> /siri
> 
> 
> 
> 2012/11/21 Bengt Kleberg <>
>         Greetings,
>         
>         Does somebody have a link to ts_install_cth.erl ?
>         
>         
>         When I try to run slave_SUITE I get the following error:
>         
>         *** CT 2012-11-21 07:38:28.786 *** Suite Hook
>         Failed to start a CTH: error:{undef,
>                                          [{ts_install_cth,init,
>                                               [#Ref<0.0.0.1892>,[]],
>                                               []},
>         ...
>         
>         {test_server,run_test_case_eval,9,
>         
>         [{file,"test_server.erl"},
>                                                {line,1296}]}]}
>         
>         This is due to me installing slave_SUITE.erl on its own after
>         locating
>         it with Google. The same search facility could not locate
>         ts_install_cth.erl. Is there somebody that know where I can
>         find it?
>         
>         
>         bengt
>         
>         _______________________________________________
>         erlang-questions mailing list
>         
>         http://erlang.org/mailman/listinfo/erlang-questions
> 
> 




More information about the erlang-questions mailing list