Just out of curiosity try something - get rid of the include_lib
directive and just use include("eunit.hrl") then run the tests again.On Sun, Feb 28, 2010 at 4:12 PM, Eric Merritt <[email protected]> wrote: > Yea, it looks like the code cover is blowing up for some reason. I > will take a look and see if I can see whats blowing up. > > On Sun, Feb 28, 2010 at 12:30 PM, Guido <[email protected]> wrote: >> Hi all, >> i got this error running "sinan test". >> >> /usr/local/lib/erlang/bin/sinan test >> [build] >> start >> [build] >> stop >> [test] >> start >> Testing >> projectapplication >> {{badmatch,false},[{cover,get_beam_file,3},{cover,main_process_loop, >> 1}]}: >> [{cover, >> call, >> 1}, >> {sin_test, >> setup_code_coverage, >> 2}, >> {sin_test, >> prepare_for_tests, >> 3}, >> {sin_test, >> test_apps, >> 2}, >> {sin_test, >> test, >> 1}, >> {eta_task_runner, >> apply_task, >> 3}, >> {eta_task_runner, >> execute_task_stack, >> 4}, >> {eta_task_runner, >> >> run_tasks, >> 4}] >> Task >> failed >> run complete with faults >> >> >> I have no idea of what causes this. >> In a case I simply created a new project and a new app with >> "sinan gen", added a module test.erl to /src and its name to the .app >> file. >> >> -module(test). >> -include_lib("eunit/include/eunit.hrl"). >> reverse_test() -> >> [3, 2, 1] = lists:reverse([1, 2, 3]). >> >> >> It compiled successfully, and then I got the error with "sinan test". >> Note that even removing the test.erl file, the error persists. >> Maybe it's a stupid thing, but I wasn't able to find a rationale >> behind it. >> >> Thanks in advance. >> >> >> Guido >> >> >> >> >> >> >> >> >> >> -- >> You received this message because you are subscribed to the Google Groups >> "erlware-dev" group. >> To post to this group, send email to [email protected]. >> To unsubscribe from this group, send email to >> [email protected]. >> For more options, visit this group at >> http://groups.google.com/group/erlware-dev?hl=en. >> >> > > -- > You received this message because you are subscribed to the Google Groups > "erlware-dev" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/erlware-dev?hl=en. > > -- You received this message because you are subscribed to the Google Groups "erlware-dev" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/erlware-dev?hl=en.
