diff options
author | Eric <[email protected]> | 2013-01-04 10:33:54 -0500 |
---|---|---|
committer | Eric <[email protected]> | 2013-01-04 10:52:19 -0500 |
commit | 3a5cb6adf215e760068c9d3e7a07eb4f971cabf0 (patch) | |
tree | 718eb042995b56fd2145c0d7a932d1aecd53e0d5 /test | |
parent | 344fa86b23205eebc3233cf9c69a8e9e145714ac (diff) | |
download | relx-3a5cb6adf215e760068c9d3e7a07eb4f971cabf0.tar.gz relx-3a5cb6adf215e760068c9d3e7a07eb4f971cabf0.tar.bz2 relx-3a5cb6adf215e760068c9d3e7a07eb4f971cabf0.zip |
provide the erlang lib dir and cwd as working libraries
This happens for every call unless the user passes
--disable-default-libs to relcool or {disable_default_libs, true} in
the relcool config.
Diffstat (limited to 'test')
-rw-r--r-- | test/rclt_discover_SUITE.erl | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/test/rclt_discover_SUITE.erl b/test/rclt_discover_SUITE.erl index 63d7841..6b61840 100644 --- a/test/rclt_discover_SUITE.erl +++ b/test/rclt_discover_SUITE.erl @@ -62,8 +62,8 @@ normal_case(Config) -> end)(App) || App <- - [{create_random_name("lib_app1_"), create_random_vsn()} - || _ <- lists:seq(1, 100)]], + [{create_random_name("lib_app1_"), create_random_vsn()} + || _ <- lists:seq(1, 100)]], LibDir2 = proplists:get_value(lib2, Config), Apps2 = [(fun({Name, Vsn}) -> @@ -71,10 +71,9 @@ normal_case(Config) -> end)(App) || App <- [{create_random_name("lib_app2_"), create_random_vsn()} - || _ <- lists:seq(1, 100)]], - State0 = rcl_state:put(rcl_state:put(proplists:get_value(state, Config), - discover_exclude_rebar, true), - discover_exclude_system, true), + || _ <- lists:seq(1, 100)]], + State0 = rcl_state:put(proplists:get_value(state, Config), + disable_default_libs, true), {DiscoverProvider, {ok, State1}} = rcl_provider:new(rcl_prv_discover, State0), {ok, State2} = rcl_provider:do(DiscoverProvider, State1), lists:foreach(fun(App) -> |