I have moved these macros from rebar_core.erl to rebar.erl in order to prevent eunit tests from failing (which they currently are).