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_file:'-dates/1-fun-0-'/2 [src/rds_la_split_file.erl:149]<br> in call from lists:map/2 [lists.erl:1168]<br> in call from rds_la_split_file:'-dates/1-fun-1-'/1 [src/rds_la_split_file.erl:147]<br>
in call from lists:map/2 [lists.erl:1168]<br> in call from rds_la_split_file:dates/1 [src/rds_la_split_file.erl:145]<br> in call from rds_la_split_file:seek_date/2 [src/rds_la_split_file.erl:136]<br> in call from rds_la_split_file:read_test/0 [src/rds_la_split_file.erl:194]<br>
</div><br><br>git fetch git://<a href="http://github.com/weicao/otp.git" target="_blank">github.com/weicao/otp.git</a> fix_eunit_print_stacktrace<br><div>
<br><br><a 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 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>