diff options
author | Tuncer Ayaz <tuncer.ayaz@gmail.com> | 2011-12-12 19:08:40 +0100 |
---|---|---|
committer | Tuncer Ayaz <tuncer.ayaz@gmail.com> | 2011-12-12 21:20:34 +0100 |
commit | 8c89a388bf39b34430dae76ca51ec9869e938f7f (patch) | |
tree | a970fde2840f85be0a9fe5a383d729315563582a /src/rebar_ct.erl | |
parent | a5e39c2c545e2a9dd33dc08d5161234a681d7aa6 (diff) |
Universally support apps=/skip_apps=
Diffstat (limited to 'src/rebar_ct.erl')
-rw-r--r-- | src/rebar_ct.erl | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/src/rebar_ct.erl b/src/rebar_ct.erl index 0303787..54e97e9 100644 --- a/src/rebar_ct.erl +++ b/src/rebar_ct.erl @@ -46,20 +46,7 @@ %% =================================================================== ct(Config, File) -> - case rebar_config:get_global(app, undefined) of - undefined -> - %% No app parameter specified, run everything.. - run_test_if_present("test", Config, File); - Apps -> - TargetApps = [list_to_atom(A) || A <- string:tokens(Apps, ",")], - ThisApp = rebar_app_utils:app_name(File), - case lists:member(ThisApp, TargetApps) of - true -> - run_test_if_present("test", Config, File); - false -> - ?DEBUG("Skipping common_test on app: ~p\n", [ThisApp]) - end - end. + run_test_if_present("test", Config, File). %% =================================================================== %% Internal functions |