diff options
author | Fred Hebert <mononcqc@ferd.ca> | 2015-09-08 15:34:20 -0400 |
---|---|---|
committer | Fred Hebert <mononcqc@ferd.ca> | 2015-09-08 15:34:20 -0400 |
commit | 6eb28a94ca87f7d1e0ed9bde45b98b15ab1fcd5b (patch) | |
tree | cdc53b006c892cf1cffaa4c1b284faa7a2d13bdb /src | |
parent | d7f2226d31f4708518c1ddb41f7666f9c1d0f151 (diff) | |
parent | d19320b17c9a0219b2d6c584e2d4e35e5a908044 (diff) |
Merge pull request #785 from tsloughter/fix_ct_hooks
fix run_all_hooks call for ct provider, no need to pass appinfo
Diffstat (limited to 'src')
-rw-r--r-- | src/rebar_prv_common_test.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rebar_prv_common_test.erl b/src/rebar_prv_common_test.erl index b24ce04..d3fb143 100644 --- a/src/rebar_prv_common_test.erl +++ b/src/rebar_prv_common_test.erl @@ -43,12 +43,12 @@ do(State) -> %% Run ct provider prehooks Providers = rebar_state:providers(State), Cwd = rebar_dir:get_cwd(), - rebar_hooks:run_all_hooks(Cwd, pre, ?PROVIDER, Providers, element(2,rebar_app_info:new(noen)), State), + rebar_hooks:run_all_hooks(Cwd, pre, ?PROVIDER, Providers, State), try run_test(State) of {ok, State1} = Result -> %% Run ct provider posthooks - rebar_hooks:run_all_hooks(Cwd, post, ?PROVIDER, Providers, element(2,rebar_app_info:new(noen)), State1), + rebar_hooks:run_all_hooks(Cwd, post, ?PROVIDER, Providers, State1), rebar_utils:cleanup_code_path(rebar_state:code_paths(State, default)), Result; ?PRV_ERROR(_) = Error -> |