[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Erlang test failure
From: |
Ralf Wildenhues |
Subject: |
Erlang test failure |
Date: |
Mon, 10 Aug 2009 23:46:07 +0200 |
User-agent: |
Mutt/1.5.20 (2009-06-15) |
Hello Romain, Paolo,
the git Autoconf tree causes a new failure for me, which I haven't
investigated further yet:
> 186: autotest.at:1438 Erlang Eunit unit tests
> erlang autotest
>
> # -*- compilation -*-
> 186. autotest.at:1438: testing ...
> ../../autoconf/tests/autotest.at:1491: autom4te --language=autotest -o suite
> suite.at
> ../../autoconf/tests/autotest.at:1499: autoconf --force
> ../../autoconf/tests/autotest.at:1499: /bin/sh -n configure
> ../../autoconf/tests/autotest.at:1500: ./configure $configure_options
> stdout:
> checking for erl... /usr/bin/erl
> checking for erlc... /usr/bin/erlc
> checking for Erlang/OTP 'eunit' library subdirectory... not found
> checking for Erlang/OTP 'eunit' library version... not found
> configure: creating ./config.status
> config.status: creating s/compile
> config.status: creating erlang.conf
> config.status: executing t/atconfig commands
> ../../autoconf/tests/autotest.at:1503: grep '^ERL='\''.*'\' t/atconfig
> stdout:
> ERL='/usr/bin/erl'
> ../../autoconf/tests/autotest.at:1504: grep '^ERLC='\''.*'\' t/atconfig
> stdout:
> ERLC='/usr/bin/erlc'
> ../../autoconf/tests/autotest.at:1505: grep '^ERLCFLAGS='\''.*'\' t/atconfig
> stdout:
> ERLCFLAGS=''
> ../../autoconf/tests/autotest.at:1511: cd t && $CONFIG_SHELL ./suite
> --- /dev/null 2008-07-30 22:08:22.000000000 +0200
> +++ /tmp/autoconf/build/tests/testsuite.dir/at-groups/186/stderr
> 2009-08-10 20:24:44.000000000 +0200
> @@ -0,0 +1,2 @@
> +ERROR: 1 test was run,
> +1 failed unexpectedly.
> stdout:
> ## -------------------------------------------------------------- ##
> ## GNU Nonsense 1.0 test suite: suite to check EUnit integration. ##
> ## -------------------------------------------------------------- ##
> 1: my only test FAILED (suite.at:3)
>
> ## ------------- ##
> ## Test results. ##
> ## ------------- ##
>
> ## ---------------------- ##
> ## suite.log was created. ##
> ## ---------------------- ##
>
> Please send `t/suite.log' and all information you think might help:
>
> To: <address@hidden>
> Subject: [GNU Nonsense 1.0] suite: 1 failed
>
>
> You may investigate any problem if you feel able to do so, in which
> case the test suite provides a good starting point. Its output may
> be found below `t/suite.dir'.
>
> ../../autoconf/tests/autotest.at:1511: exit code was 1, expected 0
> suite.log:
> sed: can't read suite.log: No such file or directory
> config.log:
> > This file contains any messages produced by compilers while
> > running configure, to aid debugging if configure makes a mistake.
[...]
> > configure:1743: checking for erl
> > configure:1761: found /usr/bin/erl
> > configure:1773: result: /usr/bin/erl
> > configure:1848: checking for erlc
> > configure:1866: found /usr/bin/erlc
> > configure:1878: result: /usr/bin/erlc
> > configure:1908: checking for Erlang/OTP 'eunit' library subdirectory
> > configure:1939: $ERLC $ERLCFLAGS -b beam conftest.$ac_ext >&5 && echo
> > "#!/bin/sh" > conftest$ac_exeext && $as_echo "\"$ERL\" -run conftest start
> > -run init stop -noshell" >> conftest$ac_exeext && chmod +x
> > conftest$ac_exeext
> > configure:1939: $? = 0
> > configure:1939: ./conftest
> > configure:1939: $? = 1
> > configure: program exited with status 1
> > configure: failed program was:
> > | -module(conftest).
> > | -export([start/0]).
> > |
> > | start() ->
> > | ReturnValue = case code:lib_dir("eunit") of
> > | {error, bad_name} ->
> > | file:write_file("conftest.out", "not found\n"),
> > | 1;
> > | LibDir ->
> > | file:write_file("conftest.out", LibDir),
> > | 0
> > | end,
> > | halt(ReturnValue)
> > | .
> > |
> > configure:1964: result: not found
> > configure:1966: checking for Erlang/OTP 'eunit' library version
> > configure:1977: result: not found
[...]
> > ## ---------------- ##
> > ## Cache variables. ##
> > ## ---------------- ##
> >
> > ac_cv_env_ERLCFLAGS_set=
> > ac_cv_env_ERLCFLAGS_value=
> > ac_cv_env_ERLC_set=
> > ac_cv_env_ERLC_value=
> > ac_cv_env_ERL_set=
> > ac_cv_env_ERL_value=
> > ac_cv_env_build_alias_set=
> > ac_cv_env_build_alias_value=
> > ac_cv_env_host_alias_set=
> > ac_cv_env_host_alias_value=
> > ac_cv_env_target_alias_set=
> > ac_cv_env_target_alias_value=
> > ac_cv_erlang_lib_dir_eunit='not found'
> > ac_cv_erlang_lib_ver_eunit='not found'
> > ac_cv_path_ac_pt_ERL=/usr/bin/erl
> > ac_cv_path_ac_pt_ERLC=/usr/bin/erlc
> >
> > ## ----------------- ##
> > ## Output variables. ##
> > ## ----------------- ##
> > ERL='/usr/bin/erl'
> > ERLANG_LIB_DIR_eunit='not found'
> > ERLANG_LIB_VER_eunit='not found'
> > ERLC='/usr/bin/erlc'
> > ERLCFLAGS=''
> > HAVE_ERLANG='yes'
> > HAVE_EUNIT='no'
> > PATH_SEPARATOR=':'
> > SHELL='/bin/sh'
> > configure: exit 0
> 186. autotest.at:1438: 186. Erlang Eunit unit tests (autotest.at:1438):
> FAILED (autotest.at:1511)
- Erlang test failure,
Ralf Wildenhues <=