[erlang-questions] Common Test Cover Problem

15 views
Skip to first unread message

Tom Burdick

unread,
Oct 20, 2011, 11:59:21 AM10/20/11
to erlang-q...@erlang.org
When attempting to run

ct_run -cover cover.spec -dir test -logdir logs

With a cover.spec that has

{incl_app, myapp, details}.

I get the following error confusing me to no end,

Cover compiling 'myapp' (69 files) - this may take some time... Suite
development.corbel was killed with reason {function_clause,
[{cover,find_main_filename,
[[]]},
{cover,transform,4},
{cover,do_compile_beam,3},
{cover,main_process_loop,
1}]}

Has anyone else seen this? How'd they end up fixing it?

-Tom
_______________________________________________
erlang-questions mailing list
erlang-q...@erlang.org
http://erlang.org/mailman/listinfo/erlang-questions

Ahmed Omar

unread,
Oct 20, 2011, 2:41:18 PM10/20/11
to Tom Burdick, erlang-q...@erlang.org
i think your file should be like this instead
{incl_app, myapp}.
{level, details}.

On Thu, Oct 20, 2011 at 5:59 PM, Tom Burdick <thomas....@gmail.com> wrote:
{incl_app, myapp, details}.



--
Best Regards,
- Ahmed Omar
Follow me on twitter

Tom Burdick

unread,
Oct 21, 2011, 7:51:33 AM10/21/11
to Ahmed Omar, erlang-q...@erlang.org
I solved my problem by explicitly listing out all modules except for
modules created using erlydtl. Not really sure why that seems to
matter.
Reply all
Reply to author
Forward
0 new messages