<div dir="ltr">Peter thanks for the help - I agree with the documentation issue.<div><br></div><div>Best regards</div><div>Walter</div><div><br><div class="gmail_extra"><br><div class="gmail_quote">On 3 February 2017 at 13:51, Peter Andersson E <span dir="ltr"><<a href="mailto:peter.e.andersson@ericsson.com" target="_blank">peter.e.andersson@ericsson.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div lang="SV" link="blue" vlink="purple">
<div class="m_7016853448430159657WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">Hi Walter,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif">Please see the documentation for function random:seed/1. (<a href="http://erlang.org/doc/man/random.html#seed-1" target="_blank">http://erlang.org/doc/man/<wbr>random.html#seed-1</a>)<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif">The CT User’s Guide really should refer to this page to avoid confusion.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif">Best regards,<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif">Peter<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif">Ericsson AB, Erlang/OTP<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif"><u></u> <u></u></span></p>
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif"> <a href="mailto:erlang-bugs-bounces@erlang.org" target="_blank">erlang-bugs-bounces@erlang.org</a> [mailto:<a href="mailto:erlang-bugs-bounces@erlang.org" target="_blank">erlang-bugs-bounces@<wbr>erlang.org</a>]
<b>On Behalf Of </b>Walter Weinmann<br>
<b>Sent:</b> den 3 februari 2017 13:38<br>
<b>To:</b> Lars Hesel Christensen <<a href="mailto:lars@larshesel.dk" target="_blank">lars@larshesel.dk</a>><br>
<b>Cc:</b> erlang-bugs <<a href="mailto:erlang-bugs@erlang.org" target="_blank">erlang-bugs@erlang.org</a>><br>
<b>Subject:</b> Re: [erlang-bugs] Erlang Common Test: {shuffle {seed}} not working<u></u><u></u></span></p><div><div class="h5">
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">Thanks Lars - got it wrong with the docs. But question, what is the meaning of these three integers?<u></u><u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">On 3 February 2017 at 13:07, Lars Hesel Christensen <<a href="mailto:lars@larshesel.dk" target="_blank">lars@larshesel.dk</a>> wrote:<u></u><u></u></p>
<blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm">
<p class="MsoNormal">Hi Walter,<br>
<br>
According to the ct docs (<a href="http://erlang.org/doc/man/common_test.html" target="_blank">http://erlang.org/doc/man/<wbr>common_test.html</a>)<br>
the shuffle seed should be on the form '{integer(),integer(),integer(<wbr>)}'.<br>
<br>
Cheers,<br>
Lars<u></u><u></u></p>
<div>
<div>
<p class="MsoNormal"><br>
On 02/02/2017 05:30 PM, Walter Weinmann wrote:<br>
> OS version:     Ubuntu 16.10<br>
> Erlang version: Erlang/OTP 19 [erts-8.2] [source-ac2de40] [64-bit]<br>
> [smp:2:2] [async-threads:10] [hipe] [kernel-poll:false]<br>
><br>
> Attached a small example file, the result in raw.log is:<br>
><br>
> --- Test run on 2017/02/02 17:23:30 ---<br>
> Converting "/home/wwe/SoftDevelopment/<wbr>kvs_stress_idea/kvs_stress/." to<br>
> "/home/wwe/SoftDevelopment/<wbr>kvs_stress_idea/kvs_stress" and re-inserting<br>
> with add_patha/1<br>
><br>
><br>
> Common Test v1.13 starting (cwd is<br>
> /home/wwe/SoftDevelopment/kvs_<wbr>stress_idea/kvs_stress)<br>
><br>
><br>
> Common Test: Running make in test directories...<br>
<span lang="EN-US">> Including the following directories:<br>
> "/home/wwe/SoftDevelopment/<wbr>kvs_stress_idea/kvs_stress/<wbr>include"<br>
> Recompile: my_shuffle_SUITE<br>
><br>
> CWD set to:<br>
> "</span><a href="mailto:/home/wwe/SoftDevelopment/kvs_stress_idea/kvs_stress/logs/ct_run.test@wwe-VirtualBox.2017-02-02_17.23.31" target="_blank"><span lang="EN-US">/home/wwe/SoftDevelopment/<wbr>kvs_stress_idea/kvs_stress/<wbr>logs/ct_run.test@wwe-<wbr>VirtualBox.2017-02-02_17.23.31</span></a><span lang="EN-US"><wbr>"<br>
><br>
> TEST INFO: 1 test(s), 1 suite(s)<br>
><br>
> Cover compiling 2 modules - this may take some time... done<br>
><br>
> Testing kvs_stress_idea.kvs_stress.my_<wbr>shuffle_SUITE: Starting test (with<br>
> repeated test cases)<br>
> EXIT, reason {function_clause,<br>
><br>
>  [{rand,uniform_s,[1,{4711}],[{<wbr>file,"rand.erl"},{line,145}]},<br>
>                   {test_server_ctrl,shuffle_<wbr>cases,3,<br>
>                       [{file,"test_server_ctrl.erl"<wbr>},{line,3175}]},<br>
>                   {test_server_ctrl,run_test_<wbr>cases_loop,5,<br>
>                       [{file,"test_server_ctrl.erl"<wbr>},{line,2591}]},<br>
>                   {test_server_ctrl,run_test_<wbr>cases,3,<br>
>                       [{file,"test_server_ctrl.erl"<wbr>},{line,2150}]},<br>
>                   {test_server_ctrl,ts_tc,3,<br>
>                       [{file,"test_server_ctrl.erl"<wbr>},{line,1209}]},<br>
>                   {test_server_ctrl,init_<wbr>tester,10,<br>
><br>
> [{file,"test_server_ctrl.erl"}<wbr>,{line,1163}]}]}Cover analysing... done<br>
><br>
> Updating<br>
> /home/wwe/SoftDevelopment/kvs_<wbr>stress_idea/kvs_stress/logs/<wbr>index.html ...<br>
</span>> done<br>
> Updating<br>
> /home/wwe/SoftDevelopment/kvs_<wbr>stress_idea/kvs_stress/logs/<wbr>all_runs.html<br>
> ... done<br>
><br>
><br>
> Test run failed! Reason:<br>
> {'EXIT',<br>
>     {function_clause,<br>
>         [{rand,uniform_s,[1,{4711}],[<wbr>{file,"rand.erl"},{line,145}]}<wbr>,<br>
>          {test_server_ctrl,shuffle_<wbr>cases,3,<br>
>              [{file,"test_server_ctrl.erl"}<wbr>,{line,3175}]},<br>
>          {test_server_ctrl,run_test_<wbr>cases_loop,5,<br>
>              [{file,"test_server_ctrl.erl"}<wbr>,{line,2591}]},<br>
>          {test_server_ctrl,run_test_<wbr>cases,3,<br>
>              [{file,"test_server_ctrl.erl"}<wbr>,{line,2150}]},<br>
>          {test_server_ctrl,ts_tc,3,<br>
>              [{file,"test_server_ctrl.erl"}<wbr>,{line,1209}]},<br>
>          {test_server_ctrl,init_tester,<wbr>10,<br>
>              [{file,"test_server_ctrl.erl"}<wbr>,{line,1163}]}]}}<br>
><br>
><br>
><u></u><u></u></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">> ______________________________<wbr>_________________<br>
> erlang-bugs mailing list<br>
> <a href="mailto:erlang-bugs@erlang.org" target="_blank">erlang-bugs@erlang.org</a><br>
> <a href="http://erlang.org/mailman/listinfo/erlang-bugs" target="_blank">http://erlang.org/mailman/<wbr>listinfo/erlang-bugs</a><br>
><u></u><u></u></p>
</div>
</div>
</blockquote>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
</div>
</div></div></div>
</div>

</blockquote></div><br><br clear="all"><div><a value="+41618269006" style="font-family:Arial,sans-serif;font-size:10.6667px"><span style="color:rgb(34,34,34);font-size:10.6667px">____</span></a><br></div>
</div></div></div>