<div dir="ltr">Thank you.</div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/6/18 Fredrik <span dir="ltr"><<a href="mailto:fredrik@erlang.org" target="_blank">fredrik@erlang.org</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


  
    
  
  <div bgcolor="#FFFFFF" text="#000000"><div><div class="h5">
    On 06/18/2013 04:47 PM, Fredrik wrote:
    <blockquote type="cite">
      
      On 05/13/2013 10:21 AM, Fredrik wrote:
      <blockquote type="cite">
        
        On 05/10/2013 11:09 PM, Yuki Ito wrote:
        <blockquote type="cite">
          <div dir="ltr">
            <div style="font-family:arial,sans-serif;font-size:13.63636302947998px">Hi, </div>
            <div style="font-family:arial,sans-serif;font-size:13.63636302947998px"><br>
            </div>
            <div style="font-family:arial,sans-serif;font-size:13.63636302947998px">
              Some io_requests, getopts, {get_geometry, rows} and
              {get_geometry, columns} in eunit raises unexpected error.</div>
            <div style="font-family:arial,sans-serif;font-size:13.63636302947998px"><br>
            </div>
            <div style="font-family:arial,sans-serif;font-size:13.63636302947998px">
              For example,</div>
            <div style="font-family:arial,sans-serif;font-size:13.63636302947998px"><br>
            </div>
            <div style="font-family:arial,sans-serif;font-size:13.63636302947998px">$
              cat my_tests.erl</div>
            <div style="font-family:arial,sans-serif;font-size:13.63636302947998px">
              -module(my_tests).</div>
            <div style="font-family:arial,sans-serif;font-size:13.63636302947998px">-include_lib("eunit/include/eunit.hrl").</div>
            <div style="font-family:arial,sans-serif;font-size:13.63636302947998px">
              <br>
            </div>
            <div style="font-family:arial,sans-serif;font-size:13.63636302947998px">my_test()


              -></div>
            <div style="font-family:arial,sans-serif;font-size:13.63636302947998px">  io:getopts().</div>
            <div style="font-family:arial,sans-serif;font-size:13.63636302947998px">
              <br>
            </div>
            <div style="font-family:arial,sans-serif;font-size:13.63636302947998px">1>


              c(my_tests).</div>
            <div style="font-family:arial,sans-serif;font-size:13.63636302947998px">{ok,my_tests}</div>
            <div style="font-family:arial,sans-serif;font-size:13.63636302947998px">
              2> eunit:test(my_tests).</div>
            <div style="font-family:arial,sans-serif;font-size:13.63636302947998px">my_tests:


              my_test (module 'my_tests')...*skipped*</div>
            <div style="font-family:arial,sans-serif;font-size:13.63636302947998px">
              undefined</div>
            <div style="font-family:arial,sans-serif;font-size:13.63636302947998px">*unexpected


              termination of test process*</div>
            <div style="font-family:arial,sans-serif;font-size:13.63636302947998px">::{{badmatch,{error,{error,enotsup},[]}},</div>
            <div style="font-family:arial,sans-serif;font-size:13.63636302947998px"> 
 [{eunit_proc,io_request,4,[{file,"eunit_proc.erl"},{line,614}]},</div>
            <div style="font-family:arial,sans-serif;font-size:13.63636302947998px">
                   
               {eunit_proc,group_leader_loop,3,[{file,"eunit_proc.erl"},{line,584}]}]}</div>
            <div style="font-family:arial,sans-serif;font-size:13.63636302947998px"><br>
            </div>
            <div style="font-family:arial,sans-serif;font-size:13.63636302947998px">
                   
               =======================================================</div>
            <div style="font-family:arial,sans-serif;font-size:13.63636302947998px"> 
                     Failed: 0.  Skipped: 0.  Passed: 0.</div>
            <div style="font-family:arial,sans-serif;font-size:13.63636302947998px">
                       One or more tests were cancelled.</div>
            <div style="font-family:arial,sans-serif;font-size:13.63636302947998px"> 
                     error</div>
            <div style="font-family:arial,sans-serif;font-size:13.63636302947998px"> 
                     3> </div>
            <div style="font-family:arial,sans-serif;font-size:13.63636302947998px"> 
                     =ERROR REPORT==== 11-May-2013::05:51:35 ===</div>
            <div style="font-family:arial,sans-serif;font-size:13.63636302947998px"> 
                     Error in process <0.49.0> with exit value:
{{badmatch,{error,{error,enotsup},[]}},[{eunit_proc,io_request,4,[{file,"eunit_proc.erl"},{line,614}]},{eunit_proc,group_leader_loop,3,[{file,"eunit_proc.erl"},{line,584}]}]}</div>
            <div style="font-family:arial,sans-serif;font-size:13.63636302947998px"><br>
            </div>
            <div style="font-family:arial,sans-serif;font-size:13.63636302947998px"><br>
            </div>
            <div style="font-family:arial,sans-serif;font-size:13.63636302947998px">
              git fetch <a href="mailto:git@github.com:mururu/otp.git" target="_blank">git@github.com:mururu/otp.git</a>
              fix_eunit_io_protocol</div>
            <div style="font-family:arial,sans-serif;font-size:13.63636302947998px"><a href="https://github.com/mururu/otp/compare/erlang:maint...fix_eunit_io_protocol" target="_blank">https://github.com/mururu/otp/compare/erlang:maint...fix_eunit_io_protocol</a></div>


            <div style="font-family:arial,sans-serif;font-size:13.63636302947998px"><a href="https://github.com/mururu/otp/compare/erlang:maint...fix_eunit_io_protocol.patch" target="_blank">https://github.com/mururu/otp/compare/erlang:maint...fix_eunit_io_protocol.patch</a></div>


            <div style="font-family:arial,sans-serif;font-size:13.63636302947998px"><br>
            </div>
            <div style="font-family:arial,sans-serif;font-size:13.63636302947998px">Thanks.</div>
          </div>
          <br>
          <fieldset></fieldset>
          <br>
          <pre>_______________________________________________
erlang-patches mailing list
<a href="mailto:erlang-patches@erlang.org" target="_blank">erlang-patches@erlang.org</a>
<a href="http://erlang.org/mailman/listinfo/erlang-patches" target="_blank">http://erlang.org/mailman/listinfo/erlang-patches</a>
</pre>
        </blockquote>
        Hello Yuki,<br>
        I've fetched your branch and it is now located in the 'pu'
        branch for further testing.<br>
        Thanks,<br>
        <br>
        <pre cols="72">-- 

BR Fredrik Gustafsson
Erlang OTP Team</pre>
        <br>
        <fieldset></fieldset>
        <br>
        <pre>_______________________________________________
erlang-patches mailing list
<a href="mailto:erlang-patches@erlang.org" target="_blank">erlang-patches@erlang.org</a>
<a href="http://erlang.org/mailman/listinfo/erlang-patches" target="_blank">http://erlang.org/mailman/listinfo/erlang-patches</a>
</pre>
      </blockquote>
      Hello,<br>
      Could you please provide a testcase for this?<br>
      <br>
      <pre cols="72">-- 

BR Fredrik Gustafsson
Erlang OTP Team</pre>
      <br>
      <fieldset></fieldset>
      <br>
      <pre>_______________________________________________
erlang-patches mailing list
<a href="mailto:erlang-patches@erlang.org" target="_blank">erlang-patches@erlang.org</a>
<a href="http://erlang.org/mailman/listinfo/erlang-patches" target="_blank">http://erlang.org/mailman/listinfo/erlang-patches</a>
</pre>
    </blockquote></div></div>
    I just realized that eunit does not have any tests.<br>
    Skip it, I will put it into building on more platforms when R16B01
    has been released..<div class="im"><br>
    <br>
    <pre cols="72">-- 

BR Fredrik Gustafsson
Erlang OTP Team</pre>
  </div></div>

</blockquote></div><br><br clear="all"><div><br></div>-- <br>伊藤友気 Yuki Ito<div><a href="mailto:yuki.mururu@gmail.com" target="_blank">yuki.mururu@gmail.com</a></div>
</div>