anchor.diff:  %% Internal functions
   %% ===================================================================
   
  +run_test(State) ->
  +    case setup_ct(State) of
  +        {error, {no_tests_specified, Opts}} ->
  +            ?WARN("No tests specified in opts: ~p", [Opts]),
  +            {ok, State};
  +        Opts ->
  +            Opts1 = setup_logdir(State, Opts),
  +            ?DEBUG("common test opts: ~p", [Opts1]),
  +            run_test(State, Opts1)
  +    end.
  +
   run_test(State, Opts) ->
       {RawOpts, _} = rebar_state:command_parsed_args(State),
       Result = case proplists:get_value(verbose, RawOpts, false) of
  -        true  -> run_test(Opts);
  +        true  -> run_test_verbose(Opts);
           false -> run_test_quiet(Opts)
       end,
       ok = rebar_prv_cover:maybe_write_coverdata(State, ?PROVIDER),
  
positive.code:         {[Dir], Suites} when is_integer(hd(Dir)), is_list(Suites) ->
              [{dir, Dir}|lists:keydelete(dir, 1, Opts)];
          %% multiple dirs and suites, error now to simplify later steps
          {_, _} -> erlang:error({multiple_dirs_and_suites, Opts})
      end.
  
  discover_testspec(_TestSpec, Opts) ->
  
negative.code: 
  copy(State, Target) ->
      case reduce_path(Target) == rebar_state:dir(State) of
          true  -> throw({error, suite_at_project_root});
          false -> ok
      end,
      case retarget_path(State, Target) of
  