diff options
author | Tuncer Ayaz <tuncer.ayaz@gmail.com> | 2014-01-14 12:38:33 +0100 |
---|---|---|
committer | Tuncer Ayaz <tuncer.ayaz@gmail.com> | 2014-01-14 12:44:53 +0100 |
commit | 5fa6671511aac8b662c6a8560924de4fe16f9b42 (patch) | |
tree | 37967b76f82637131da334e0fe6fa21ad86b9907 /src/rebar_eunit.erl | |
parent | df42410cf21a37e0c48e741ffa37db9efc576309 (diff) |
Remove experimental flags
Remove experimental flag from:
* qc compile_only=true
* eunit compile_only=true
* src/foo.app.src.script
* eunit tests=
Diffstat (limited to 'src/rebar_eunit.erl')
-rw-r--r-- | src/rebar_eunit.erl | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/rebar_eunit.erl b/src/rebar_eunit.erl index 6ea28f7..5d90142 100644 --- a/src/rebar_eunit.erl +++ b/src/rebar_eunit.erl @@ -84,8 +84,7 @@ eunit(Config, _AppFile) -> ok = ensure_dirs(), %% Save code path CodePath = setup_code_path(), - CompileOnly = rebar_utils:get_experimental_global(Config, compile_only, - false), + CompileOnly = rebar_config:get_global(Config, compile_only, false), {ok, SrcErls} = rebar_erlc_compiler:test_compile(Config, "eunit", ?EUNIT_DIR), case CompileOnly of @@ -260,7 +259,7 @@ get_tests(Config, SuitesProvided, ModuleBeamFiles, FilteredModules) -> get_matching_tests(Config, Modules). get_matching_tests(Config, Modules) -> - RawFunctions = rebar_utils:get_experimental_global(Config, tests, ""), + RawFunctions = rebar_config:get_global(Config, tests, ""), Tests = [list_to_atom(F1) || F1 <- string:tokens(RawFunctions, ",")], case Tests of [] -> |