Re: Common Test problems with includes since 17.4
Nico Kruber <[email protected]>
| Newsgroups | gmane.comp.lang.erlang.bugs |
|---|---|
| Message-ID | <[email protected]> |
Thank you Peter,
please tell my when you commit the patch and I'll integrate it into the
openSUSE packages so I can run tests again
(at the moment I'm symlinking all hrl files from my external include directory
into the test directory as a workaround)
Nico
On Wednesday 21 Jan 2015 23:54:48 Peter Andersson wrote:
> Hi Nico,
>
> 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!
>
> Best,
> Peter
>
> Ericsson AB, Erlang/OTP
>
> On 2015-01-20 14:24, Nico Kruber wrote:
> > 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
> >
> >
> > _______________________________________________
> > erlang-bugs mailing list
> > [email protected]
> > http://erlang.org/mailman/listinfo/erlang-bugs
_______________________________________________
erlang-bugs mailing list
[email protected]
http://erlang.org/mailman/listinfo/erlang-bugs
signature.asc
(application/pgp-signature, 181 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEABECAAYFAlTCNXUACgkQIPJyS9rqnllEIgCfc8UwwYVFJ/xS1kEU3cgudwsO IVMAoI0ErkrlBJOU1vqtXISSdIajIDNV =R/I1 -----END PGP SIGNATURE-----