[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: EUnit failure?
From: |
Ralf Wildenhues |
Subject: |
Re: EUnit failure? |
Date: |
Tue, 11 Aug 2009 20:13:47 +0200 |
User-agent: |
Mutt/1.5.20 (2009-08-09) |
* Paolo Bonzini wrote on Tue, Aug 11, 2009 at 09:39:09AM CEST:
> On 08/11/2009 07:56 AM, Ralf Wildenhues wrote:
> >I didn't actively do anything with my Erlang installation though.
> >If you can tell me what to look out for, I can try to debug it tonight.
>
> In the meanwhile, this patch will help capturing t/suite.log properly.
>
> Ok?
Yes, thank you, that seems to have been a long-standing issue.
(The patch you posted didn't apply cleanly, BTW.)
> * tests/autotest.at (AT_CHECK_AT_PREP): Properly capture
> testsuite log even if it is in a subdirectory.
This patch gives more clues:
> # -*- compilation -*-
> 1. suite.at:2: testing ...
> ./suite.at:3: "$ERLC" $ERLCFLAGS -b beam my_testsuite.erl
> ./suite.at:3: "$ERL" -pa "${abs_top_builddir}/s" -s my_testsuite test
> $at_eunit_options -noshell
> --- /dev/null 2008-08-11 20:08:11.000000000 +0200
> +++
> /tmp/autoconf/build/tests/testsuite.dir/186/t/suite.dir/at-groups/1/stderr
> 2009-08-11 20:12:12.000000000 +0200
> @@ -0,0 +1,3 @@
> +
> +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)
If you like I can provide the erl_crash.dump file (170K uncompressed).
BTW, Romain, what is this line
cp "$abs_top_srcdir/build-aux/install-sh" pkg
in the test source of this test group used for?
Thanks,
Ralf
- Re: EUnit failure?, Paolo Bonzini, 2009/08/11
- Re: EUnit failure?, Ralf Wildenhues, 2009/08/11
- Re: EUnit failure?, Paolo Bonzini, 2009/08/11
- Re: EUnit failure?,
Ralf Wildenhues <=
- Re: EUnit failure?, Romain Lenglet, 2009/08/11
- Re: EUnit failure?, Ralf Wildenhues, 2009/08/13
- Re: EUnit failure?, Romain Lenglet, 2009/08/18
- Re: EUnit failure?, Ralf Wildenhues, 2009/08/18
- Re: EUnit failure?, Romain Lenglet, 2009/08/18
- Re: EUnit failure?, Paolo Bonzini, 2009/08/19
- Re: EUnit failure?, Romain Lenglet, 2009/08/19
- Re: EUnit failure?, Ralf Wildenhues, 2009/08/19
- Re: EUnit failure?, Romain Lenglet, 2009/08/19
- Re: EUnit failure?, Ralf Wildenhues, 2009/08/22