[erlang-bugs] Eunit Possibly Failing Under Windows

Bjorn Gustavsson <>
Thu Apr 30 15:34:26 CEST 2009


On Thu, Apr 30, 2009 at 1:43 AM, Larry Jones <> wrote:
> When I try to run eunit tests on Windows (XP SP2) using erlang 5.7.1, I keep receiving the following  error:
> $ erl -noshell -s eunit test reverse_test -s init stop
> reverse_test: reverse_test (module 'reverse_test')...*skipped*
> undefined
> *unexpected termination of test process*
> ::{badarg,[{io,put_chars,[<0.32.0>,unicode,<<>>]},
>           {eunit_proc,handle_test,2},
>           {eunit_proc,tests_inorder,3},
>           {eunit_proc,with_timeout,3},
>           {eunit_proc,run_group,2},
>           {eunit_proc,child_process,2}]}
>

It is a known problem. We have now posted a correction of the eunit
application at

http://www.erlang.org/download/patches/eunit-2.1.1.tar.gz

You need to manually unpack and install the application in "lib"
directory of the
Erlang/OTP installation (alternatively, use "erl -pa
/path/to/eunit-2.1.1/ebin").

Sorry for the inconvenience.

/Bjorn
-- 
Björn Gustavsson, Erlang/OTP, Ericsson AB



More information about the erlang-bugs mailing list