anchor.diff:      case rebar_prv_compile:do(NewState) of
           %% successfully compiled apps
           {ok, S} ->
  -            _ = maybe_cover_compile(S),
  -            _ = maybe_compile_bare_testdir(S),
  +            ok = maybe_cover_compile(S),
  +            ok = maybe_compile_bare_testdir(S),
               {ok, S};
           %% this should look like a compiler error, not an eunit error
           Error   -> Error
  
positive.code:     end.
  
  maybe_cover_compile(State) ->
      State1 = case rebar_state:get(State, cover, false) of
          true  -> rebar_state:set(State, cover_enabled, true);
          false -> State
      end,
      rebar_prv_cover:maybe_cover_compile(State1).
  
  maybe_compile_bare_testdir(State) ->
      case ec_file:is_dir(filename:join([rebar_state:dir(State), "test"])) of
          true ->
              ErlOpts = rebar_state:get(State, erl_opts, []),
              EUnitOpts = rebar_state:get(State, eunit_compile_opts, []),
  
negative.code:     ?DEBUG("eunit_tests ~p", [Tests]),
      ?DEBUG("eunit_opts  ~p", [EUnitOpts]),
      Result = eunit:test(Tests, EUnitOpts),
      ok = maybe_write_coverdata(State),
      case handle_results(Result) of
          {error, Reason} ->
              ?PRV_ERROR(Reason);
  