summaryrefslogtreecommitdiff
path: root/src/rebar_prv_eunit.erl
diff options
context:
space:
mode:
authorTristan Sloughter <tristan.sloughter@gmail.com>2015-01-12 12:30:24 -0600
committerTristan Sloughter <tristan.sloughter@gmail.com>2015-01-12 12:30:24 -0600
commit7238f2e7e86018807ba4ad840e0647f381190a7a (patch)
tree4b2b2f910f83be162e83c4c1a9761157592f7d4f /src/rebar_prv_eunit.erl
parent47269b1a8194e13a5a3de0f829cecaef85bf8419 (diff)
parent407362c074ffbc280443e35ed95f4eb2abce0a78 (diff)
Merge pull request #96 from tsloughter/profiles
replace single profile atom in providers with list of profiles
Diffstat (limited to 'src/rebar_prv_eunit.erl')
-rw-r--r--src/rebar_prv_eunit.erl3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/rebar_prv_eunit.erl b/src/rebar_prv_eunit.erl
index 3bd20fd..bb0fd9d 100644
--- a/src/rebar_prv_eunit.erl
+++ b/src/rebar_prv_eunit.erl
@@ -28,7 +28,7 @@ init(State) ->
{short_desc, "Run EUnit Tests."},
{desc, ""},
{opts, eunit_opts(State)},
- {profile, test}]),
+ {profiles, [test]}]),
State1 = rebar_state:add_provider(State, Provider),
{ok, State1}.
@@ -185,4 +185,3 @@ handle_results(error) ->
{error, unknown_error};
handle_results({error, Reason}) ->
{error, {error_running_tests, Reason}}.
-