<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
On 11/02/2011 07:11 AM, Wei Cao wrote:
<blockquote
cite="mid:CADS4RazvHVpyybGF_Z+-3EY1vif87fEn=FUe9cOH-zp29qp0Hw@mail.gmail.com"
type="cite">R15 adds file and lineno in the result of
erlang:get_stacktrace/0, so <br>
eunit should be updated accordingly to accomodate the new
stacktrace format.<br>
<br>
before fix:<br>
<br>
<div style="margin-left: 40px;">wei@t-mingsong:~/codebase/mysql_prj/rds/trunk/rds$
make eunit<br>
module 'rds_lib'<br>
rds_la_split_file: read_test (module
'rds_la_split_file')...*failed*<br>
::{badmatch,nomatch}<br>
</div>
<br>
after fix:<br>
<div style="margin-left: 40px;">wei@t-mingsong:~/codebase/mysql_prj/rds/trunk/rds$
make eunit<br>
</div>
<div style="margin-left: 40px;">module 'rds_lib'<br>
rds_la_split_file: read_test (module
'rds_la_split_file')...rds_la_split_file: read_test (module
'rds_la_split_file')...*failed*<br>
::error:{badmatch,nomatch}<br>
in function rds_la_split_<a class="moz-txt-link-freetext" href="file:'-dates/1-fun-0-'/2">file:'-dates/1-fun-0-'/2</a>
[src/rds_la_split_file.erl:149]<br>
in call from lists:map/2 [lists.erl:1168]<br>
in call from rds_la_split_<a class="moz-txt-link-freetext" href="file:'-dates/1-fun-1-'/1">file:'-dates/1-fun-1-'/1</a>
[src/rds_la_split_file.erl:147]<br>
in call from lists:map/2 [lists.erl:1168]<br>
in call from rds_la_split_<a class="moz-txt-link-freetext" href="file:dates/1">file:dates/1</a>
[src/rds_la_split_file.erl:145]<br>
in call from rds_la_split_<a class="moz-txt-link-freetext" href="file:seek_date/2">file:seek_date/2</a>
[src/rds_la_split_file.erl:136]<br>
in call from rds_la_split_<a class="moz-txt-link-freetext" href="file:read_test/0">file:read_test/0</a>
[src/rds_la_split_file.erl:194]<br>
</div>
<br>
<br>
git fetch git://<a moz-do-not-send="true"
href="http://github.com/weicao/otp.git" target="_blank">github.com/weicao/otp.git</a>
fix_eunit_print_stacktrace<br>
<div>
<br>
<br>
<a moz-do-not-send="true"
href="https://github.com/weicao/otp/compare/erl_interface_replace_select_with_poll"
target="_blank">https://github.com/weicao/otp/compare/fix_eunit_print_stacktrace</a><br>
<br>
<a moz-do-not-send="true"
href="https://github.com/weicao/otp/compare/erl_interface_replace_select_with_poll.patch"
target="_blank">https://github.com/weicao/otp/compare/fix_eunit_print_stacktrace.patch</a><br
clear="all">
<font color="#888888">
</font></div>
<font color="#888888"><br clear="all">
</font><br>
<br>
-- <br>
<br>
Best,<br>
<br>
Wei Cao<br>
<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>
Thank you!<br>
I have included this in 'pu'<br>
<br>
<pre class="moz-signature" cols="72">--
/Henrik Nord Erlang/OTP</pre>
</body>
</html>