diff options
| author | Tristan Sloughter <t@crashfast.com> | 2015-09-08 14:29:50 -0500 | 
|---|---|---|
| committer | Tristan Sloughter <t@crashfast.com> | 2015-09-08 14:29:50 -0500 | 
| commit | d19320b17c9a0219b2d6c584e2d4e35e5a908044 (patch) | |
| tree | cdc53b006c892cf1cffaa4c1b284faa7a2d13bdb /src | |
| parent | d7f2226d31f4708518c1ddb41f7666f9c1d0f151 (diff) | |
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 -> | 
