[erlang-bugs] R16 EUnit *** context setup failed ***

Tuncer Ayaz <>
Tue Jan 8 16:51:21 CET 2013


Same problem with git rev 3e8a6c8.

On Fri, Nov 23, 2012 at 4:20 PM, Anthony Ramine wrote:
> I can reproduce this with the exact same steps.
>
> --
> Anthony Ramine
>
> Le 13 nov. 2012 à 14:18, Tuncer Ayaz a écrit :
>
>> If I build and run rebar's EUnit tests with R16, I see "*** context
>> setup failed ***" errors.
>>
>> Interestingly, if I use a tree where ebin/*, rebar, and .eunit/*.beam
>> have been built with R15B02, then neither R16 nor R15 throw the
>> context setup errors.
>>
>> # fetch and build rebar
>> $ git clone git://github.com/rebar/rebar.git
>> $ cd rebar
>> $ make
>> # run tests with new rebar binary
>> $ ./rebar eunit
>> # *** context setup failed *** errors and 50 out of 72 tests
>> # not executed
>> $ rm ebin/* .eunit/* rebar
>> # rebuild rebar and EUnit tests with R15
>> $ make && ./rebar eunit
>> # running EUnit tests with either R15 or R16 works now
>>
>> Can anyone else reproduce this? Could this be caused by compiler
>> changes in R16? I don't see any changes in lib/eunit after R15B02.


More information about the erlang-bugs mailing list