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

Tuncer Ayaz tuncer.ayaz@REDACTED
Tue Nov 13 14:18:57 CET 2012


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