summaryrefslogtreecommitdiff
path: root/test/rebar_eunit_SUITE.erl
diff options
context:
space:
mode:
authorFred Hebert <mononcqc@ferd.ca>2017-03-19 16:22:32 -0400
committerGitHub <noreply@github.com>2017-03-19 16:22:32 -0400
commit903bec6b572fb656151df512db01d1b00be51862 (patch)
tree7c6456d15c4faf89fd21f6277311dd1df1a77376 /test/rebar_eunit_SUITE.erl
parent86e883b8d8d1d16487e245fff02eba8c83da2cdd (diff)
parent26e174a5e49114156349fa9f373c4b8c6de17a7e (diff)
Merge pull request #1516 from talentdeficit/fix_eunit_suite
eunit in 19.3 errors if `init_per_*` isn't paired with `end_per_*`
Diffstat (limited to 'test/rebar_eunit_SUITE.erl')
-rw-r--r--test/rebar_eunit_SUITE.erl5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/rebar_eunit_SUITE.erl b/test/rebar_eunit_SUITE.erl
index 6fb325b..4805b3d 100644
--- a/test/rebar_eunit_SUITE.erl
+++ b/test/rebar_eunit_SUITE.erl
@@ -1,7 +1,8 @@
-module(rebar_eunit_SUITE).
-export([all/0, groups/0]).
--export([init_per_suite/1, init_per_group/2, end_per_group/2]).
+-export([init_per_suite/1, end_per_suite/1]).
+-export([init_per_group/2, end_per_group/2]).
-export([basic_app_compiles/1, basic_app_files/1]).
-export([basic_app_exports/1, basic_app_testset/1]).
-export([basic_app_eunit_macro/1]).
@@ -60,6 +61,8 @@ init_per_suite(Config) ->
{ok, _} = zip:extract(filename:join([PrivDir, "multi_app.zip"]), [{cwd, PrivDir}]),
Config.
+end_per_suite(Config) -> Config.
+
init_per_group(basic_app, Config) ->
GroupState = rebar_test_utils:init_rebar_state(Config, "basic_app_"),