autoconf-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: EUnit failure?


From: Romain Lenglet
Subject: Re: EUnit failure?
Date: Tue, 18 Aug 2009 21:55:05 +0900
User-agent: KMail/1.12.0 (Linux/2.6.30-1-686; KDE/4.3.0; i686; ; )

Hello Ralf,

On Thursday 13 August 2009 14:30:28 Ralf Wildenhues wrote:
> > >> +Crash dump was written to: erl_crash.dump
> > >> +init terminating in do_boot ()
> > >> stdout:
> > >> {"init terminating in
> > >> do_boot",{undef,[{init,stop,"M"},{init,start_it,1},{init,start_em,1}]}
> > >>} ./suite.at:3: exit code was 1, expected 0
> > >> 1. suite.at:2: 1. my only test (suite.at:2): FAILED (suite.at:3)
> >
> > Can you please send me the conftest.erl program that is generated by
> > AT_CHECK_EUNIT?
>
> I assume you mean the ./t/suite.dir/1/my_testsuite.erl file?  Attached.

I can't reproduce an error message like the one above. I don't understand what 
is hapening.

Can you please try to compile and run the my_testsuite.erl by hand?
$ erlc my_testsuite.erl   # produces a my_testsuite.beam
$ erl -s my_testsuite test    # runs the test, and should exit with code 1:
undefined
*** test module not found ***
::testme

=======================================================
  Failed: 0.  Skipped: 0.  Passed: 0.
One or more tests were cancelled.


Does that work for you?

> Which version of Erlang are you using (which package have you downloaded
> > or installed)? Please run "erl" and copy the line "Erlang (BEAM)
> > emulator ...".
>
> $ erl
> Erlang (BEAM) emulator version 5.5.5 [source] [64-bit] [async-threads:0]
> [kernel-poll:false]

--
Romain Lenglet




reply via email to

[Prev in Thread] Current Thread [Next in Thread]