From 4e64e3685707e82a5906fee0d482087c80b0ee3b Mon Sep 17 00:00:00 2001 From: Tristan Sloughter Date: Sat, 4 Apr 2015 21:34:46 -0500 Subject: fixes from bad rebase against master --- src/rebar_prv_common_test.erl | 4 ++-- src/rebar_prv_eunit.erl | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/rebar_prv_common_test.erl b/src/rebar_prv_common_test.erl index b481da4..aa71dbd 100644 --- a/src/rebar_prv_common_test.erl +++ b/src/rebar_prv_common_test.erl @@ -53,8 +53,8 @@ do(State) -> ?DEBUG("common test opts: ~p", [Opts1]), {ok, State1} = run_test(State, Opts1), %% Run ct provider posthooks - rebar_hooks:run_all_hooks(Cwd, post, ?PROVIDER, Providers, State), - {ok, State1}; + rebar_hooks:run_all_hooks(Cwd, post, ?PROVIDER, Providers, State1), + {ok, State1} end catch error:Reason -> diff --git a/src/rebar_prv_eunit.erl b/src/rebar_prv_eunit.erl index 1388a7b..473a913 100644 --- a/src/rebar_prv_eunit.erl +++ b/src/rebar_prv_eunit.erl @@ -46,7 +46,7 @@ do(State) -> {ok, Tests} -> {ok, State1} = do_tests(State, Tests), %% Run ct provider posthooks - rebar_hooks:run_all_hooks(Cwd, post, ?PROVIDER, Providers, State), + rebar_hooks:run_all_hooks(Cwd, post, ?PROVIDER, Providers, State1), {ok, State1}; Error -> Error -- cgit v1.1