aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorEric <[email protected]>2012-09-18 15:51:07 -0700
committerEric <[email protected]>2012-09-18 15:51:53 -0700
commit388b5f05a634225dcc746293850948a02951330a (patch)
treeb8973879485f1b185f214d0814b5b69341d0366b /test
parent0a830ae52f7720b8215d616e0b22f3e961571ca2 (diff)
downloadrelx-388b5f05a634225dcc746293850948a02951330a.tar.gz
relx-388b5f05a634225dcc746293850948a02951330a.tar.bz2
relx-388b5f05a634225dcc746293850948a02951330a.zip
minor formatting and cleanup
Diffstat (limited to 'test')
-rw-r--r--test/rclt_release_SUITE.erl10
1 files changed, 3 insertions, 7 deletions
diff --git a/test/rclt_release_SUITE.erl b/test/rclt_release_SUITE.erl
index ae19b29..5abc218 100644
--- a/test/rclt_release_SUITE.erl
+++ b/test/rclt_release_SUITE.erl
@@ -24,7 +24,7 @@
end_per_suite/1,
init_per_testcase/2,
all/0,
- normal_case/1]).
+ make_release/1]).
-include_lib("common_test/include/ct.hrl").
-include_lib("eunit/include/eunit.hrl").
@@ -47,9 +47,9 @@ init_per_testcase(_, Config) ->
{state, State} | Config].
all() ->
- [normal_case].
+ [make_release].
-normal_case(Config) ->
+make_release(Config) ->
LibDir1 = proplists:get_value(lib1, Config),
[(fun({Name, Vsn}) ->
create_app(LibDir1, Name, Vsn, [kernel, stdlib], [])
@@ -65,7 +65,6 @@ normal_case(Config) ->
create_app(LibDir1, "non_goal_1", "0.0.1", [stdlib,kernel], [lib_dep_1]),
create_app(LibDir1, "non_goal_2", "0.0.1", [stdlib,kernel], []),
-
ConfigFile = filename:join([LibDir1, "relcool.config"]),
write_config(ConfigFile,
[{release, {foo, "0.0.1"},
@@ -85,9 +84,6 @@ normal_case(Config) ->
?assert(lists:member({goal_app_2, "0.0.1"}, AppSpecs)),
?assert(lists:member({lib_dep_1, "0.0.1", load}, AppSpecs)).
-
-
-
%%%===================================================================
%%% Helper Functions
%%%===================================================================