summaryrefslogtreecommitdiff
path: root/src/rebar_prv_common_test.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/rebar_prv_common_test.erl')
-rw-r--r--src/rebar_prv_common_test.erl3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/rebar_prv_common_test.erl b/src/rebar_prv_common_test.erl
index c49f4c5..f4085c5 100644
--- a/src/rebar_prv_common_test.erl
+++ b/src/rebar_prv_common_test.erl
@@ -10,6 +10,7 @@
format_error/1]).
-include("rebar.hrl").
+-include_lib("providers/include/providers.hrl").
-define(PROVIDER, ct).
-define(DEPS, [compile]).
@@ -46,7 +47,7 @@ do(State) ->
{ok, CTOpts} ->
run_test(State, RawOpts, CTOpts);
{error, Reason} ->
- {error, {?MODULE, Reason}}
+ ?PRV_ERROR(Reason)
end.
run_test(State, RawOpts, CTOpts) ->