bug-autoconf
[Top][All Lists]
Advanced

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

Re: Erlang test failure


From: Paolo Bonzini
Subject: Re: Erlang test failure
Date: Mon, 10 Aug 2009 23:55:18 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1b3pre) Gecko/20090513 Fedora/3.0-2.3.beta2.fc11 Lightning/1.0pre Thunderbird/3.0b2

I suppose this:

>  ReturnValue = case code:load_file(eunit) of
>    {module, _} -> case eunit:test(TestSpec, Options) of
>        ok -> 0; %% test passes
>        _  -> 1  %% test fails
>      end;
>    _ -> 77 %% EUnit not found, test skipped
>  end,

does not work as intended. Before my proposed changes, the test would have been skipped; after my changes it is run so that it shows there was a bug.

I suppose Romain can easily uninstall EUnit and see what's wrong.

Paolo




reply via email to

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