diff options
author | Fred Hebert <mononcqc@ferd.ca> | 2014-12-16 14:53:26 -0500 |
---|---|---|
committer | Fred Hebert <mononcqc@ferd.ca> | 2014-12-16 14:53:26 -0500 |
commit | b5500c7301eb6017d956b041daf4001d7b6cb3ff (patch) | |
tree | b698186b6cfe8d64c3a8951748f838a734932998 /src/rebar_prv_common_test.erl | |
parent | 0672fc45b797b9a496e5bf7797d2b7168f16ca42 (diff) | |
parent | 3998dfb049f8e48c4595b72913837a0b8095a0fe (diff) |
Merge pull request #56 from tsloughter/profile_deps
rewrite profiles
Diffstat (limited to 'src/rebar_prv_common_test.erl')
-rw-r--r-- | src/rebar_prv_common_test.erl | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/rebar_prv_common_test.erl b/src/rebar_prv_common_test.erl index 20d554e..4576d05 100644 --- a/src/rebar_prv_common_test.erl +++ b/src/rebar_prv_common_test.erl @@ -12,7 +12,7 @@ -include("rebar.hrl"). -define(PROVIDER, ct). --define(DEPS, [{install_deps, default}, compile]). +-define(DEPS, [compile]). %% =================================================================== %% Public API @@ -37,7 +37,6 @@ do(State) -> {Opts, _} = rebar_state:command_parsed_args(State), Opts1 = transform_opts(Opts), ok = create_dirs(Opts1), - expand_test_deps(filename:join(rebar_dir:profile_dir(State), ?DEFAULT_DEPS_DIR)), case handle_results(ct:run_test(Opts1)) of {error, Reason} -> {error, {?MODULE, Reason}}; @@ -51,10 +50,6 @@ format_error({failures_running_tests, FailedCount}) -> format_error({error_running_tests, Reason}) -> io_lib:format("Error running tests: ~p", [Reason]). -expand_test_deps(Dir) -> - Apps = filelib:wildcard(filename:join([Dir, "*", "ebin"])), - ok = code:add_pathsa(Apps). - ct_opts(State) -> DefaultTestDir = filename:join([rebar_state:dir(State), "test"]), DefaultLogsDir = filename:join([rebar_state:dir(State), "logs"]), |