<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">Hi Nico,<br>
      <br>
      I know what's causing the error now. There's a problem with some
      recently introduced code in the erl->html converter in Common
      Test. We'll have this fixed shortly!<br>
      <br>
      Best,<br>
      Peter<br>
      <br>
      Ericsson AB, Erlang/OTP <br>
      <br>
      On 2015-01-20 14:24, Nico Kruber wrote:<br>
    </div>
    <blockquote cite="mid:5534528.FObQ9azk4v@csr-pc40.zib.de"
      type="cite">
      <pre wrap="">Since Erlang 17.4 Common Test seems to have problems with included .hrl files 
outside of the folder the unit test resides in (even when passing the 
appropriate "include" option). The make process succeeds but when the test is 
actually run, a badarg is thrown:

EXIT, reason {{badarg,{tree,macro,{attr,0,[],none},{macro,
{var,0,'RT'},none}}},
[{erl_syntax,concrete,1,[{file,"erl_syntax.erl"},{line,6188}]},
 {erl_syntax,concrete_list,1, [{file,"erl_syntax.erl"},{line,6192}]},
 {erl_syntax,concrete_list,1, [{file,"erl_syntax.erl"},{line,6192}]},
 {erl_syntax,concrete,1,[{file,"erl_syntax.erl"},{line,6162}]},
 {erl_syntax,concrete,1,[{file,"erl_syntax.erl"},{line,6159}]},
 {erl_syntax,concrete_list,1, [{file,"erl_syntax.erl"},{line,6192}]},
 {erl_syntax,concrete_list,1, [{file,"erl_syntax.erl"},{line,6192}]},
 {erl_syntax,concrete,1,[{file,"erl_syntax.erl"},{line,6162}]}]}

== Steps to reproduce ===

* copy the attached test_SUITE.erl into a test folder and put test_SUITE.hrl 
into a sub-folder named "include"
* run any of these two commands:
ct_run -include "include" -suite test_SUITE
CT_INCLUDE_PATH=include ct_run -suite test_SUITE

=> if the .hrl file is put into the test folder, everything is fine though



Nico</pre>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
erlang-bugs mailing list
<a class="moz-txt-link-abbreviated" href="mailto:erlang-bugs@erlang.org">erlang-bugs@erlang.org</a>
<a class="moz-txt-link-freetext" href="http://erlang.org/mailman/listinfo/erlang-bugs">http://erlang.org/mailman/listinfo/erlang-bugs</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>