<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
On 05/10/2013 11:09 PM, Yuki Ito wrote:
<blockquote
cite="mid:CAFN=DcvgmpEyFQnCNoGgAJTn5xmWdbVVspL_xDsZnA4yNVm7EQ@mail.gmail.com"
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 class="moz-txt-link-abbreviated" href="mailto:git@github.com:mururu/otp.git">git@github.com:mururu/otp.git</a> fix_eunit_io_protocol</div>
<div
style="font-family:arial,sans-serif;font-size:13.63636302947998px"><a
moz-do-not-send="true"
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
moz-do-not-send="true"
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 class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
erlang-patches mailing list
<a class="moz-txt-link-abbreviated" href="mailto:erlang-patches@erlang.org">erlang-patches@erlang.org</a>
<a class="moz-txt-link-freetext" href="http://erlang.org/mailman/listinfo/erlang-patches">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 class="moz-signature" cols="72">--
BR Fredrik Gustafsson
Erlang OTP Team</pre>
</body>
</html>